Mon, 2004-08-09 00:14
hi,
is it possible to write that in CSS? Calling a javascript function for a rollover image. I have a multiple CSS website and the images are not the same in each template so I have to try to call them in CSS file.
_________
<script language="JavaScript">SecondImage00=image1.jpg';</script><a href="index.php" onMouseOver="{OrigImage00=img00.src; img00.src=SecondImage00} " onMouseOut="img00.src=OrigImage00"><img alt="" name="img00" border="0" src="image2" width="200" height="20" onLoad="TempImage00=new Image(0,0); TempImage00.src=SecondImage00"></a>
____________
Thanks
Roseline Paquin
Montréal, Canada
Wed, 2004-08-11 15:51
#1
Javascript in CSS definition
Sure. The details are on my site in a related article I wrote:
http://www.designdetector.com/archives/04/07/OperaStickyNotes.php