[Javascript] RollOver Image Script
flavio
flavio at economisa.com.br
Fri Feb 27 05:37:44 CST 2004
I haven't tried, but you could try to use a single image, and then create
a "<map>" tag to control the onmouseover and onmouseout events over each map
area.
---
Flavio Gomes
flavio at economisa.com.br
Citando Tim Makins <spindrift at oceanfree.net>:
> All you do is to have a base image GIF, then additional overlays of GIFs
> the
> same size that have all areas transparent except the new cell, which is
> colored in a different way. Each overlay GIF is put in a DIV, positioned
> over the base GIF, with the style of its display set to hidden. Then, you
> use the same image map on each GIF to pick out the hot areas, and add code
> such that when the mouse is over a cell, it changes the display to visible.
>
> Tim in Ireland.
>
> ----- Original Message -----
> From: "Grinwald, Uri" <UGrinwald at dynamic.ca>
> To: "[JavaScript List]" <javascript at LaTech.edu>
> Sent: Thursday, February 26, 2004 8:40 PM
> Subject: RE: [Javascript] RollOver Image Script
>
>
> Good Afternoon.
>
> I was just given an intresting challenge which I remember seeing a
> solution for but can not seem to locate it.
>
> I have an image of a pie graph. When the mouse hovers over a perticular
> slice (hot spot) I need to shade(color in) a corresponding table cell.
>
> Can someone please point me in the right direction.
>
> Thanks,
> Uri
> _______________________________________________
> 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
>
---------------------------------------------------------------------
Mensagem enviada através do WebMail NetSol (http://www.netsol.psi.br)
More information about the Javascript
mailing list