Re: Identical rollover buttons on same page
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: Identical rollover buttons on same page

From: Thomas 'PointedEars' Lahn <PointedEars@web.de>
Date: Wed Nov 30 2005 - 21:40:30 CET

Jim Van Abbema wrote:

> I have the identical rollover button on the same page, going to different
> links. (They are links to the given institution's online store.) Is
> there a simplified script that doesn't require each button to be uniquely
> named? At this point I have 34+ of changes with each button having its own
> name, and I will be needing to adding more. Is there a simpler solution?

Use the `this' reference within event listener JS code, or use CSS in the
first place.

PointedEars
Received on Sat Dec 3 04:33:58 2005