[Javascript] RollOver Image Script

Grinwald, Uri UGrinwald at dynamic.ca
Fri Feb 27 07:52:12 CST 2004


Hi and thanks for your response.
The problem is that the table I want to swap the cells in in HTML format
and not a gif.
If it were an image I can simply use a disjointed rollover.

-----Original Message-----
From: Tim Makins [mailto:spindrift at oceanfree.net] 
Sent: Friday, February 27, 2004 3:15 AM
To: [JavaScript List]
Subject: Re: [Javascript] RollOver Image Script


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



More information about the Javascript mailing list