Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] RollOver Image Script


  • From: UGrinwald at dynamic.ca (Grinwald, Uri)
  • Subject: [Javascript] RollOver Image Script
  • Date: Fri Feb 27 07:51:18 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@xxxxxxxxxxxxx] 
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@xxxxxxxxxx>
To: "[JavaScript List]" <javascript@xxxxxxxxxx>
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@xxxxxxxxxx
https://lists.LaTech.edu/mailman/listinfo/javascript

_______________________________________________
Javascript mailing list
Javascript@xxxxxxxxxx
https://lists.LaTech.edu/mailman/listinfo/javascript