[thelist] Rollovers
Peter-Paul Koch
gassinaumasis at hotmail.com
Sun Mar 25 13:25:17 CST 2001
><TD ALIGN=left VALIGN=top WIDTH=17 HEIGHT=375 BGCOLOR=#6699CC><A
>HREF="javascript:void(0)" onmouseover="news_on.gif";
>onmouseout="news_off.gif"><IMG NAME="news" SRC=images/news_off.gif
>WIDTH=17 HEIGHT=30 BORDER=0><BR>
Won't work. "news_on.gif" is not a JavaScript command so the browser doesn't
understand it. An event handler (like onMouseOver) always needs a bit of
JavaScript code to execute when the event takes place. Usually you call a
function that does the dirty work for you.
>My questions is (and I have been searching all night for an example) how do
>I make a rollover script to accomplish what I want?
>
>If you have an example also, that would be great...
http://www.xs4all.nl/~ppk/js/index.html?mouseov.html
ppk
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
More information about the thelist
mailing list