frames and javascript history
Hi,
here is my frame layout
<?php
---------------
| frame a |
----------------
frame | frame |
b | c |
-----------------
?>
and the code:
I want to put the code in frame a but want frame c to actually go back (as if the link was in frame c)
I haven't played with javascript for a while, I remember it can be done and remember having to use document and window but can't remember the complete thing. So instead of burning out my limited brain cells thought I'd ask you guys/gals.
Don't worry it's not for a site, its just something personal am playing with.
Thanks
Abhishek Reddy posted this at 13:57 — 23rd February 2005.
He has: 3,348 posts
Joined: Jul 2001
Try window.framename.history.go(-1) ?
Busy posted this at 23:14 — 23rd February 2005.
He has: 6,151 posts
Joined: May 2001
Thanks Abhi, works most of the time, although seems to not work when values have been sent to a page within a page. Works well enough for what I need, cheers
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.