chango schrieb:
> Hi, it's possible maintain the History of Navigation using back/forward
> buttons??
> I'm using Ajax to load Contents into a DIV:
> ---------
> function open_url(url, target) {
> document.getElementById(target).innerHTML = 'please wait';
> $('#'+target).load(url);
> $('#'+target).fadeIn('fast');
> }
>
> Calling...
> javascript:void(0) plans
>
> ---------
>
> Maybe a Plugin?
>
> Thanks a LOT.
Yes, I there is one:
http://stilbuero.de/jquery/history/
It seems it does exactly what you need. Usage: Just put normal links
into your HTML (degrades gracefully), and run remote() over them. For
example if these links all belong to the class "remote":
$('a.remote').remote('#' + target);
And initialize history once:
$.ajaxHistory.initialize();
-- Klaus
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/