disable iframe history
Date: 05/21/07
(Javascript Community) Keywords: browser, java
I'm making a page that has different ads in an IFRAME loading periodically. the ads are hosted on our adserver and the page could be anywhere, so there is some cross-domain issues going on here.
The problem is, after using the page for a while, while the ads in the IFRAME are switching, if the user clicks the back button, the IFRAME moves back and forth between ads instead of going back to the previous page in the browser history.
Is there a way to disable this behavior so that the Back button applies to the entire document and not the IFRAME? I've tried using some JavaScript methods, but the IFRAME pages are loaded by a Quicktime HREF, and since QT can no longer call JS functions, I can't think of any other way to do it.
thanks.
Source: http://community.livejournal.com/javascript/134057.html