PRIMERO:Copiamos y pegamos este codigo donde nosotros queramos en edicion html. Podria ser en una entrada, o una pagina independiente, etc.
CODIGO:
<div><div><div class="pre-spoiler"><span style="padding-top: 12px;"></span><input style="margin: 0px; padding: 0px; width: 100px; border: 3px double rgb(250, 201, 128); color: rgb(0, 0, 0); background-color: rgb(176, 196, 222);" value="ABRIR" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = '';this.innerText = ''; this.value = 'CERRAR '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.value = 'VER ';}" type="button"> </div> <div> <div style="display: none;" class="spoiler"><span><div style="text-align: center;"><div style="text-align: justify;"><u></u>
AQUI PONES EL CONTENIDO QUE QUIERAS, SEAN IMAGENES, TEXTO, ETC.
</div></div></span></div></div></div></div>
EJEMPLO:
No hay comentarios:
Publicar un comentario