N 
		
				
			
		nxovoix
Gamma
Redactor
		Hola amigos BETAS... veran tengo este codigo:  
	
	
	
		
y todo bien... funciona a la perfeccion....
Pero quiero hacer que al darle click en Mostrar el boton baje con todo lo que se muestra y al darle Ocultar regrese al mismo lugar.. es posible esto?
Algo asi:
BOTON QUE OCULTA TODO:
		
		
	
	
		 
	
EL BOTON MUESTRA CONTENIDO OCULTO:
		 
	
PERO LO QUE QUIERO ES QUE EL BOTON BAJE CON EL CONTENIDO OCULTO:
		 
	
Y AL VOLVER A DARLE EN OCULTAR REGRESE:
		 
	
Desde ya gracias a todos 😀
	
		
			
		
		
	
				
			
		Insertar CODE, HTML o PHP:
	
	<div class="divspoiler">
<input type="button" value="Mostrar" onclick="if (this.parentNode.nextSibling.childNodes[0].style.display != '') { this.parentNode.nextSibling.childNodes[0].style.display = ''; this.value = 'Ocultar'; } else { this.parentNode.nextSibling.childNodes[0].style.display = 'none'; this.value = 'Mostrar'; }" />
</div><div><div class="spoiler" style="display: none;">
Aquí el contenido que queremos ocultar
</div></div>y todo bien... funciona a la perfeccion....
Pero quiero hacer que al darle click en Mostrar el boton baje con todo lo que se muestra y al darle Ocultar regrese al mismo lugar.. es posible esto?
Algo asi:
BOTON QUE OCULTA TODO:
 
	EL BOTON MUESTRA CONTENIDO OCULTO:
 
	PERO LO QUE QUIERO ES QUE EL BOTON BAJE CON EL CONTENIDO OCULTO:
 
	Y AL VOLVER A DARLE EN OCULTAR REGRESE:
 
	Desde ya gracias a todos 😀
 
  
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 