Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Curser change

  1. #1
    New Coder
    Join Date
    Mar 2005
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Curser change

    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

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    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
    Code:
    <style type="text/css"><!--
    a.zoom:hover {
    cursor:url(linktocustomcursor.cur);
    }
    -->
    </style>
    then the html
    Code:
    <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
    Last edited by _Aerospace_Eng_; 03-18-2005 at 10:46 PM.

  • #3
    New Coder
    Join Date
    Mar 2005
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi, thanks for the reply, this looks like what I´m after ill let you know how I get on.

    Thanks again


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •