[Javascript] changing image src

Marcelo Simon grillo at lazzuri.com.br
Fri Jun 20 12:40:56 CDT 2003


thanks for the help everyone,

I wasn't able to figure out the solution, so I've done it with the
ugly-but-easier method, create diferent menu.html for each image so they can
be highlited.

thanks for the help
Marcelo Simon


----- Original Message -----
From: "Geoff Corriere" <geoff at cpe1.com>
To: "[JavaScript List]" <javascript at LaTech.edu>
Sent: Friday, June 20, 2003 12:49 PM
Subject: Re: [Javascript] changing image src


> How about disabling the mouseover/on features (and maybe even the page
> loading) just to isolate the problem more.
>
> I think you are right about the mouseout. You move the cursor over the
> image and it goes from "nada.gif" to "bt_04midiaext_on". Clicking on
> the image loads "bt_04midiaext_on.gif" into the image, which is what is
> already loaded. Then the user moves the cursor out of the image and the
> mouseout is called, re-loading "nada.gif".
>
> What is MM_swapImgRestore() doing? Can you pass it a parameter so it
> does not load the original image, "nada"? Your onclick might have to
> change what happens on the mouseout.
>
> Geoff
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
>




More information about the Javascript mailing list