View Full Version : problem with history.back()
dgcarla
06-03-2005, 12:27 AM
I have this code in a navigation bar flash, within a HTML
on (release) {
getURL ("javascript:history.back()");
}
on (press) {
getURL ("javascript:history.back()");
}
but the problem is that it backs once single and soon
remains in same HTML .
the HTML completely loads one on another one without frames (target=_top)
thanks! :)
Boskic.com
06-03-2005, 11:40 AM
You are going back two times (press-release), if you want to go back two times use javascript:history.go(-2) else use on (release) {
getURL ("javascript:history.back()");
}
dgcarla
06-04-2005, 03:37 AM
Thanks, but using two lines (release, press) it backs once single (this is right, work fine in my site)
the problem is this:
after back remain in the same html.
for example:
view in browser page1.html, later page2.html and later page3.html. In this page, click on back button and view in browser page2.html...great! but when click on back button again...page2,...and click again...page2, and click again..page2...never page1...do you understand me? sorry my english is too little. :o
thank for reply! ;)
Boskic.com
06-05-2005, 08:41 PM
Then make link to page2.html from page3.html, and link to page1.html from page2.html instead of using history.
vBulletin® v3.7.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.