Re: browser-back event?

2008-01-24 Thread Johan Compagner
some have onbeforeunload or something like that
but not all browsers have that. And you dont know if that is caused by back
i guess

On Jan 24, 2008 1:48 PM, Jan Kriesten [EMAIL PROTECTED] wrote:


 hi,

 is there any (javascript) event fired when a user hits the
 browser-back-button?

 regards, --- jan.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




RE: browser-back event?

2008-01-24 Thread Thijssen, Ron
As far as I know there is no such event. 

Maybe you can try this... Keep a stack of visited pages (e.g. url's) in
your session. Send a onload ajax event including the 'active' page. This
way you notice that the state has been changed and you can take some
action.

Im not sure that the onload event is triggered when a user hits the back
button and the browser restores the page fromt its cache (does it?).

Try this and let me know if it works :)
Or maybe someone has a better idea.. ?

Greetz, Ron

-Oorspronkelijk bericht-
Van: Johan Compagner [mailto:[EMAIL PROTECTED] 
Verzonden: donderdag 24 januari 2008 13:57
Aan: users@wicket.apache.org
Onderwerp: Re: browser-back event?

some have onbeforeunload or something like that
but not all browsers have that. And you dont know if that is caused by
back
i guess

On Jan 24, 2008 1:48 PM, Jan Kriesten [EMAIL PROTECTED] wrote:


 hi,

 is there any (javascript) event fired when a user hits the
 browser-back-button?

 regards, --- jan.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



Disclaimer

Dit bericht met eventuele bijlagen is vertrouwelijk en uitsluitend bestemd voor 
de geadresseerde. Indien u niet de bedoelde ontvanger bent, wordt u verzocht de 
afzender te waarschuwen en dit bericht met eventuele bijlagen direct te 
verwijderen en/of te vernietigen. Het is niet toegestaan dit bericht en 
eventuele bijlagen te vermenigvuldigen, door te sturen, openbaar te maken, op 
te slaan of op andere wijze te gebruiken. Ordina N.V. en/of haar 
groepsmaatschappijen accepteren geen verantwoordelijkheid of aansprakelijkheid 
voor schade die voortvloeit uit de inhoud en/of de verzending van dit bericht.

This e-mail and any attachments are confidential and is solely intended for the 
addressee. If you are not the intended recipient, please notify the sender and 
delete and/or destroy this message and any attachments immediately. It is 
prohibited to copy, to distribute, to disclose or to use this e-mail and any 
attachments in any other way. Ordina N.V. and/or its group companies do not 
accept any responsibility nor liability for any damage resulting from the 
content of and/or the transmission of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: browser-back event?

2008-01-24 Thread Jan Kriesten


hi johan,


some have onbeforeunload or something like that
but not all browsers have that. And you dont know if that is caused by back
i guess


i'll try 'onload' for the moment and see what will happen...

thanks, --- jan.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]