[Javascript] OnMouseOver in Mozilla

Andrew Gibson andyg at ihug.co.nz
Thu Jun 26 18:18:01 CDT 2003


The event function your code calls:

MM_swapImage('Image1','','images/newregistration_on.gif',1)

Take a look at the MM_swapImage()  function generated by dreamweaver , if
you can understand it, you are one of the few!

Andrew


----- Original Message -----
From: jrmata at netscape.net
To: "[JavaScript List]"
Sent: Friday, June 27, 2003 5:29 AM
Subject: Re: [Javascript] OnMouseOver in Mozilla


Thanks.

Write my own mouseover?  I thought onmouseover was a built-in Javascript
Events that are part of the JavaScript language itself.  All Dreamweaver
does is write the code OnMouseOver("  ").  How OnMouseOver actually runs is
determined by the Browser when it encounters the OnMouseOver keyword.  It
doesn't make sense that I would have to rewrite a JavaScript Event.  Why
would it run fine in Explorer?  Thanks.

Jose Mata
jrmata at netscape.net


"Chris Tifer" <christ at saeweb.com> wrote:

>I would suggest the same thing. Write your own mouseover. We always
>have problem with Dreamweaver's code. Or when it does work, the mouseover
>and mouseout seem to have delayed reactions, as if they're doing too much.
>
>Chris Tifer
>http://emailajoke.com
>
>----- Original Message -----
>From: "Andrew Gibson" <andyg at ihug.co.nz>
>To: "[JavaScript List]" <javascript at LaTech.edu>
>Sent: Wednesday, June 25, 2003 6:04 PM
>Subject: Re: [Javascript] OnMouseOver in Mozilla
>
>
>> 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
>>
>>
>>
>>
>> _______________________________________________
>> Javascript mailing list
>> Javascript at LaTech.edu
>> https://lists.LaTech.edu/mailman/listinfo/javascript
>
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript
>

__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial
today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list