[Javascript] OnMouseOver in Mozilla

Andrew Gibson andyg at ihug.co.nz
Wed Jun 25 17:04:27 CDT 2003


Your first problem is this:
  "MM_"

Seriously, I suspect you're using a tool such as Dreamweaver to create the
code?  Always very very difficult to debug!

Andrew

>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Subject: [Javascript] OnMouseOver in Mozilla
Hi,

Need some help.  I get the following code to do a nice mouse rollover in
Internet Explorer 6.0.  However, in Mozilla and Netscape 7.0 it is a valid
hyperlink but ther is no rollover.  I've looked at lots of sample code for
Mozilla rollovers and have not seen a problem.   It is below.  Any
suggestions or ideas appreciated.

<td colspan ="4" width = "120" height = "60" >
<a href = "register.php"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image1','','images/newregistration_on.gif',1)" >
<img src="images/newregistration.gif" width="120" height="46" alt="New User
Register" border="0" name = "Image1"  ></a></td>

Thanks
Jose
jrmata at netscape.net






More information about the Javascript mailing list