Draw a Clickable Line

Discussion in 'JavaScript' started by James McMurray, Feb 16, 2008.

  1. #1
    Is is possible with SVG, VML, or anything else to draw a line on the screen and have that line react to mouse clicks and/or mouseovers? I know I could "draw" it by stretching a transparent gif of a line and reacting to clicks on that, but what I'm wanting to make would have multiple overlapping lines, and I'm afraid that whichever image was on top would block the rest.

    Any help would be greatly appreciated!
     
    James McMurray, Feb 16, 2008 IP
  2. ajsa52

    ajsa52 Well-Known Member

    Messages:
    3,426
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    160
    #2
    ajsa52, Feb 17, 2008 IP
  3. James McMurray

    James McMurray Peon

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Nice! Thanks!
     
    James McMurray, Feb 17, 2008 IP