Wordpress Theme - Debt Consolidation - Download Anime - Credit Cards - Online Advertising

PDA

View Full Version : Custom image cursor


goliathus
Dec 7th 2007, 12:24 am
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..

sharry
Dec 7th 2007, 3:13 am
check this url out, it might help you in some way http://www.javascriptkit.com/script/script2/simpleimagetrail.shtml

peace

goliathus
Dec 7th 2007, 11:54 am
many thanks, sharry!

sharry
Dec 7th 2007, 8:20 pm
i'm glad it helped, cheers