jaymc Posted December 29, 2006 Share Posted December 29, 2006 I have a website which has 3 iframes within the main siteI want to make use of the history.go javascript feature to enable users to go back to a previous page within an iframeHowever, when clicking the history.go(-1) link, it takes them back to the last viewed page on the whole site, whether that be on the main page, 1st 2nd or 3rd iframeHow can I apply the history.go to only the history of the current iframe its positioned inThanks Quote Link to comment Share on other sites More sharing options...
lszanto Posted December 29, 2006 Share Posted December 29, 2006 Have you tried putting the history.go(-1) inside the frame you want to go back one page? Quote Link to comment Share on other sites More sharing options...
jaymc Posted December 29, 2006 Author Share Posted December 29, 2006 Yes... when clicking it alters the other frames/main site if the history is within one of those pages Quote Link to comment Share on other sites More sharing options...
fenway Posted December 30, 2006 Share Posted December 30, 2006 The browser doesn't care when the page was loaded, apparently.... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.