Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Identical rollover buttons on same page

Reply
Thread Tools

Identical rollover buttons on same page

 
 
Jim Van Abbema
Guest
Posts: n/a
 
      11-30-2005
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?

Thanks,
Jim Van Abbema


 
Reply With Quote
 
 
 
 
Thomas 'PointedEars' Lahn
Guest
Posts: n/a
 
      11-30-2005
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble with rollover buttons on master page Keith G Hicks ASP .Net 4 03-28-2008 12:49 AM
PyGTK - Rollover Buttons Gepi Solo Python 0 09-07-2006 03:00 PM
Possible to have non-image based rollover buttons? Doug ASP .Net 2 07-12-2006 05:17 PM
rollover buttons dave ASP .Net 1 05-12-2005 04:17 AM
java-script for DreamWeaver MX RollOver buttons and FireFox Leythos HTML 4 03-30-2005 08:54 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57