PDA

View Full Version : onMouseOver and iframe


driftwood
06-12-2003, 06:33 PM
I am trying to have a mouseover open several text files (one at a time) on the same page in a specific cell in a table. I have discovered that I can get the file to open using iframes and traditional mouse clicks. But I cannot get a mouseover to direct the htm to that location. It always opens a new window, which is not what I want.

I would appreciate any help provided.
Elaine

redhead
06-12-2003, 07:47 PM
well... it should work... (using the iframe method you said above)

<iframe ... name="borris"></iframe>

<a href="text1.txt" onmouseover="document.borris.location=this.href">text 1</a>
<a href="text2.txt" onmouseover="document.borris.location=this.href">text 2</a>
<a href="text3.txt" onmouseover="document.borris.location=this.href">text 3</a>

:thumbsup:

driftwood
06-12-2003, 07:58 PM
Works like a champ! Thanks so much.
Elaine

redhead
06-12-2003, 08:16 PM
no problem. glad it works :)

pardicity3
06-12-2003, 11:36 PM
Originally posted by redhead
<iframe ... name="borris"></iframe>
borris...

redhead
06-13-2003, 05:19 PM
yeah, borris.