ruperts
asked on
one click - update 2 frames..
Want a link which updates two frames at the same time (the link is in one of the frames to be updated.)
thanks
thanks
How about:
<a href='pagetoupdatethisfram e.htm' onclick='parent.otherframe .location= "pagetoupd ateotherfr ame.htm";r eturn true;'>Click to update this frame and other frame</a>
???
Tom
<a href='pagetoupdatethisfram
???
Tom
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
having problems...
please check out
www.rest.demon.co.uk/temp
left frame- contents
right frame - mainwin
Should load qxl.html (my page) on the left hand side, and their site on the right hand site (www.qxl.com) when you click on QXL logo.
I've tried both ie5 and netscape (give this error - JavaScript Error: [unknown origin], - parent.mainwin has no properties).
thanks...
Rupert
please check out
www.rest.demon.co.uk/temp
left frame- contents
right frame - mainwin
Should load qxl.html (my page) on the left hand side, and their site on the right hand site (www.qxl.com) when you click on QXL logo.
I've tried both ie5 and netscape (give this error - JavaScript Error: [unknown origin], - parent.mainwin has no properties).
thanks...
Rupert
remove the
<ase target=main> tag at the top of the page.
<ase target=main> tag at the top of the page.
ASKER
Thanks....
That works..
That works..
JavaScript should really be left on parameters that are meant to handle scripts. When I tried this line I got all sorts of funky behaviors. It should really look like this:
<A HREF="#" onClick="javascript:parent .framename .location= 'thepage.h tm';parent .framename .location= 'thepage.h tm';">
Click here...</A>
The hash tells the browser that the location is not changing and it still excutes the link just like the above solution.
<A HREF="#" onClick="javascript:parent
Click here...</A>
The hash tells the browser that the location is not changing and it still excutes the link just like the above solution.
should update the two frame you want to update...