Hi John,
I hope you are still around, I have been using the same code that you put up, and had no trouble with it...
Code:
<a href="some.htm" target="iframeone"
onclick="window.frames['iframetwo'].location.href='some_2.htm';return true;"
>Whatever</a>
However, what I am trying to achieve is to click on "Whatever" and for it to automatically display three content (htm) in three iframes, this is the code that I've been trying to work out but it doesn't seem to work:
Code:
<a href="some.htm" target="iframeone"
onclick="window.frames['iframetwo'].location.href='some_2.htm';return true;","window.frames['iframethree'].location.href='some_3.htm';return true;"
>Whatever</a>
The comma in the middle doesn't seem to work... what is the correct code to use? I know it's something very simple, but can't quite get it. The reason for three iframes is I'm making it for educational purposes.
Thanks.
Bookmarks