how to get cursor to change when behaviour set to mousedown

  • cerio
  • Proficient
  • Proficient
  • User avatar
  • Posts: 263
  • Loc: UK

Post 3+ Months Ago

Hi,
I have thumbnails, with behaviours set (on mousedown), which, when a thumbnail is clicked on, change a larger image elsewhere on the same page.

When you mouseover the thumbnails, the cursor doesn't change to let you know to click. It only seems to do that when there's a link to a page.

Can I get the cursor to change to the hand when I mouseover the thumbnails so that it's obvious something happens if you then click?

I'm using DreamweverMX and can tweak code a little here and there but have little knowledge of html.

Thanks
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • RichB
  • Guru
  • Guru
  • User avatar
  • Posts: 1121
  • Loc: Boston

Post 3+ Months Ago

You can use css for this although IE5.x/Win and Mozilla have different ideas about how it should be done. To make it work with both you could create a css class like this:

Code: [ Select ]
.hand {
cursor: pointer;
cursor: hand;
}
  1. .hand {
  2. cursor: pointer;
  3. cursor: hand;
  4. }


and then set the class for the image tags where you want it to appear:

Code: [ Select ]
<img class="hand" alt="test" src="test.gif">


For more information see this page:

http://devedge.netscape.com/viewsource/2002/cursor/
  • cerio
  • Proficient
  • Proficient
  • User avatar
  • Posts: 263
  • Loc: UK

Post 3+ Months Ago

Thank you, I'll try that.
  • cerio
  • Proficient
  • Proficient
  • User avatar
  • Posts: 263
  • Loc: UK

Post 3+ Months Ago

Yay! It worked perfectly.

Thank you so much. One more puzzle solved.

Now, if I can just get text to swap when and where I want it to, I can finish the site. First I need sleep, must stop these all-nighters but I have an impending deadline so I'm a bit :shock:

Thanks again.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 38 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.