You know, it does work...
I made a stupid mistake with the naming of my IFrames (changed I1 and I2
from position).
Sorry about that, but thanks for letting me look @ it again.
Joris
"Martin Honnen" <ma*******@yahoo.de> wrote in message
news:44**********************@newsread2.arcor-online.net...
Joris De Groote wrote:
I am looking for a javascript that can open a link in an iframe. However,
the link on wich the user clicks, is from another iframe. So I have 2
Iframes and want to get a html page open in I2 when the user clicks on a
link in I1.
Does the HTML target attribute not work for your?
<a href="whatever.html" target="iframe2Name">link</a>
<iframe name="iframe2Name" src="whatelse.html"></iframe>
--
Martin Honnen
http://JavaScript.FAQTs.com/