Please forgive me if any of this doesn't make sense - I haven't been using JavaScript for very long!
I'm using two IFrames here, "a" and "back". I'm using the following code to target both the frames with a link in "a"
I'm trying to manipulate it so that, from a link in "back", "a" goes back one page in its history, while "back" displays another page. No surprises, I can't get anything to work. Any thoughts - if this is even possible at all? Thanks in advance!Code:function changeLink(link1,link2) { eval("parent.a.location='"+link1+"'"); eval("parent.back.location='"+link2+"'"); } <a href="javascript:changeLink('samplepic.htm', 'back.htm')">



Reply With Quote

Bookmarks