Ver Mensaje Individual
  #1 (permalink)  
Antiguo 09/12/2013, 10:18
emilio_alac05
 
Fecha de Ingreso: septiembre-2012
Mensajes: 75
Antigüedad: 11 años, 7 meses
Puntos: 2
manejo de jquery show/whide

Hola amigos buen dia,lo que quiero hacer que cuando depligue contenido no se cierre cuando cambie de pagina(url) sino que se mantenga abierta en cuando le de atras con el navegador. saludos ayuda buen dia a todos. gracias

en firefox funciona bien pero en chrome, IE no funciona como lo necesito.

Código HTML:
 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script>
<script src="js/showHide.js" type="text/javascript"></script>
<script type="text/javascript">

		$(document).ready(function(){
		$('#hide').click(function(evento) {
		$('#hide').fadeOut(1000);
		});
		   $('.show_hide').showHide({			 
				speed: 1000,  // speed you want the toggle to happen	
				easing: '',  // the animation effect you want. Remove this line if you dont want an effect and if you haven't included jQuery UI
				changeText: 1, // if you dont want the button text to change, set this to 0
				showText: 'Show More',// the button text to show when a div is closed
				hideText: 'Close' // the button text to show when a div is open
							 
			}); 
		
		
		});

</script>



<center><a href="#" class="show_hide" rel="#slidingDiv" style="color:#333333; white-space: nowrap; font-family:Arial, Helvetica, sans-serif;"><i><b><u><span id="hide-show"><span id="hide">Show More</span></span></u></b></i></a><br />
			<img src="imagenes/hand.png" /></a></center> 

Última edición por emilio_alac05; 09/12/2013 a las 13:24