When users are within the menu and want to go back to a previous page, they end up back at the home page, even if they were on another page within the site. Is there a way for users to go back to the previous page. Our users are frustrated by always having to start over at the home page. I saw a post in the version 3 section that said to use this code:
[code]<a href="javascript:history.back();">[/code]
But I don't know where to put it or if this will work.
thanks
Elaine
go back to previous page
Try this:
Ruth
Code: Select all
aI("text=Back;url=javascript:history.go(-1);");
aI("text=Next;url=javascript:history.go(+1); ");
Re: go back to previous page
Hi Elaine,
Ruth's suggestion should work for a menu implementation of "Back". history.go(-1) is the equivalent to history.back(), and history.go(1) is the equivalent to history.forward(). So, you could also use
Cheers,
Kevin
I'm a little confused. Are you saying that the browser's "Back" button isn't working??? (That would be disturbing!) Or are you trying to implement your own "Back" button using the menus, and that isn't working?Elaine Shuman wrote:When users are within the menu and want to go back to a previous page, they end up back at the home page, even if they were on another page within the site. Is there a way for users to go back to the previous page....
Ruth's suggestion should work for a menu implementation of "Back". history.go(-1) is the equivalent to history.back(), and history.go(1) is the equivalent to history.forward(). So, you could also use
Code: Select all
aI("text=Back;url=javascript:history.back();");
aI("text=Next;url=javascript:history.forward();");
Kevin