Identical rollover buttons on same page

Discussion in 'Javascript' started by Jim Van Abbema, Nov 30, 2005.

  1. 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
    Jim Van Abbema, Nov 30, 2005
    #1
    1. Advertising

  2. 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
    Thomas 'PointedEars' Lahn, Nov 30, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. dave

    rollover buttons

    dave, May 12, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    1,400
  2. Leythos
    Replies:
    4
    Views:
    3,585
    Leythos
    Mar 30, 2005
  3. Doug
    Replies:
    2
    Views:
    401
  4. Gepi Solo

    PyGTK - Rollover Buttons

    Gepi Solo, Sep 7, 2006, in forum: Python
    Replies:
    0
    Views:
    391
    Gepi Solo
    Sep 7, 2006
  5. Keith G Hicks

    trouble with rollover buttons on master page

    Keith G Hicks, Mar 27, 2008, in forum: ASP .Net
    Replies:
    4
    Views:
    530
    Keith G Hicks
    Mar 28, 2008
Loading...

Share This Page