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 Link to comment https://forums.phpfreaks.com/topic/32139-historygo/ 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? Link to comment https://forums.phpfreaks.com/topic/32139-historygo/#findComment-149206 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 Link to comment https://forums.phpfreaks.com/topic/32139-historygo/#findComment-149326 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.... Link to comment https://forums.phpfreaks.com/topic/32139-historygo/#findComment-150011 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.