...

View Full Version : Curser change



jamie smith
03-18-2005, 10:15 PM
Hello

I was just wondering if anybody had any ideas, about changing the curser icon. Basically I ve got a slide show and some of the images are linked to a bigger image that opens as a pop up. What I want to do is as u pass the curser over the image it changes from the hand to a magnifying glass.
Any ideas would be greatly appreciated.

Thankyou

_Aerospace_Eng_
03-18-2005, 10:33 PM
hmm that may be a good idea, are you asking how to do it or if peeps have any other suggestions? personally i think just the alt attribute on the image is enough, but either way, changing to a custom cursor image only works in IE, but this is how you would do it

<style type="text/css"><!--
a.zoom:hover {
cursor:url(linktocustomcursor.cur);
}
-->
</style>
then the html

<a class="zoom" href="bigblah.jpg"><img src="blah.jpg"></a>
of course you could work in your script that opens the thumbnail as a larger image

EDIT: Forgot to add the class "zoom" to the link

jamie smith
03-18-2005, 10:42 PM
Hi, thanks for the reply, this looks like what Im after ill let you know how I get on.

Thanks again



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum