JavaScript - Como detectar si el botón Back y forward del I. Ex

 
Vista:

Como detectar si el botón Back y forward del I. Ex

Publicado por armando jose (1 intervención) el 28/03/2001 17:58:10
Como detectar si el botón Back y forward del I. Explorer esta activo
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Como detectar si el botón Back y forward del I.

Publicado por Marco (11 intervenciones) el 02/04/2001 13:10:30
el history.length del IE cuando cargas la página es 0. El botón back estará activo siempre que sea mayor que 0. En cuanto al forward, a mi me funcionó así:

if(parent.frame.history.lenght==window.history.length){
return false;
else parent.frame.history.forward();
}
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar