Forum Moderators: open

Message Too Old, No Replies

IFRAME and page history

trying to avoid using Javascipt...

         

ignatz

6:22 am on May 8, 2004 (gmt 0)

10+ Year Member



Quick IFrame / Javascript question:

I have a page with a before/after sample. When the user clicks on the iframe embedded images it toggles to the alternate state. So far so good.

Since it uses the link tag to call a php page with some params, each toggle is recorded in the history, it is kind of screwing up the browser prev/next navigation.. not good.

Am I fighting a losing battle? should I bite the bullet and go the javascript route?

john_k

6:42 am on May 8, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There may be another way, but the only one I know of is by using the javascript replace method.

document.location.replace('newUrl.html');