Custom image cursor

Discussion in 'JavaScript' started by goliathus, Dec 7, 2007.

  1. #1
    Hi,

    I am looking for a script (or hint) for custom image cursor. I know I can use CSS (cursor:url(cursor.cur), pointer), but it will replace system custor (the hand on links). I have a gallery and if someone want to click on thumbnail, I need to put "+" image behind the default hand cursor (e.g. on position -15px down, -15px right) ... and after click, I need "-" image to get back to thumbnail (but it is not so hard to change + and - ... problem is how to make custom image cursor in JS ... and based on class name, not ID - bcoz it is gallery and there are many photos with different IDs but the same class)

    Thanks for tips..
     
    goliathus, Dec 7, 2007 IP
  2. sharry

    sharry Peon

    Messages:
    319
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #2
    sharry, Dec 7, 2007 IP
  3. goliathus

    goliathus Peon

    Messages:
    93
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    many thanks, sharry!
     
    goliathus, Dec 7, 2007 IP
  4. sharry

    sharry Peon

    Messages:
    319
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #4
    i'm glad it helped, cheers
     
    sharry, Dec 7, 2007 IP