Posted by Neredbojias on 04/21/06 09:50
To further the education of mankind, "Viabug123" <via@netvigator.com>
vouchsafed:
> I have an effect of changing images in javascript. When mouse over
> image1, it changes to image2.
Do you want it to change back to image1 when you mouseout? If so, you
could use just css.
> But I don't know how to import the above javascript effect in the body
> of html, so that I can design the html page. There is no function of
> <body onmouseover="function();...>. Could anyone suggest me any ideas
> to solve it? Thanks a lot.
Your javascript examples were very old and outdated. Best check with the
newsgroup "comp.lang.javascript" for advice. What you want to do is
actually pretty simple but you need to know something about the current
DOM.
--
Neredbojias
Infinity has its limits.
[Back to original message]
|