Click to See Complete Forum and Search --> : MouseOver to new frame target


RuthL
10-03-2006, 06:40 PM
Right now, I have a menu frame where I click on small images to change the right-hand (main frame) page. My link code looks like the following:
<a href="sun.html" target="mainFrame">
<img src="images/sunset.jpg" alt="sunset" width="100" height="75" border="0" /></a>

I want to replace the click by a mouseOver? How do I do this?

RuthL

Kor
10-04-2006, 04:13 AM
<img src="images/sunset.jpg" alt="sunset" width="100" height="75" border="0" onmouseover="window.open('sun.html','mainFrame')" />

or

<img src="images/sunset.jpg" alt="sunset" width="100" height="75" border="0" onmouseover="top.frames['mainFrame'].location.href='sun.html'" />

RuthL
10-07-2006, 08:30 AM
Both of your solutions worked.