Results 1 to 4 of 4

Thread: Customized Cursors for website

  1. #1
    Join Date
    Apr 2008
    Posts
    242

    Customized Cursors for website

    I wan just wondering, if there is someone who could probably help me with customizing my cursors. I mean i want to show different cursors to my user. I want to give him a selectable option for the same. How do i go about with this. Can somebody help!!

  2. #2
    Join Date
    Oct 2005
    Posts
    2,393

    Re: Customized Cursors for website

    What you can do is probably create a new cursor file(.cur) or use one of the default cursor files, which can be located in Windows > Cursor folder, and place it in the same place as the page resides in your web package. Then you need to simply add the following code before the HEAD section of that page
    Code:
    <style>
    <!--
    BODY{
    cursor:url("cursorName.cur");
    }
    -->
    </style>
    , where cursorName.cur is the name of the cursor file you want to display. Hope this is all that is required by you.

  3. #3
    Join Date
    Apr 2008
    Posts
    242

    Re: Customized Cursors for website

    Yes that was Somewhat close to what was required, but is there some way by which i could just give some different cursors to different objects on the page?
    Last edited by afidelino; 06-11-2009 at 11:50 AM.

  4. #4
    Join Date
    Oct 2005
    Posts
    2,393

    Re: Customized Cursors for website

    To change the cursor according to the object it moves over, what we can do is just put predefined cursor images on the page, then, depending on what cursor is selected, add the specific style code, like
    Code:
    <span style="cursor:pointer;cursor:wait">This span has a "wait" signal</span>
    Post if anything else is required. Will be happy to help.

Similar Threads

  1. Get Custom Cursors for Windows 7 64 bit
    By Dolan Duck in forum Customize Desktop
    Replies: 3
    Last Post: 12-09-2012, 03:33 PM
  2. Types of Cursors in ADODB
    By Jagdish Gada in forum Software Development
    Replies: 4
    Last Post: 28-11-2009, 01:36 PM
  3. Mac OS X Cursors for Windows XP
    By Kiho in forum Customize Desktop
    Replies: 6
    Last Post: 12-08-2009, 09:27 AM
  4. HALO Cursors & Icons
    By Preetish in forum Customize Desktop
    Replies: 3
    Last Post: 09-06-2009, 07:48 PM
  5. Vista cursors in XP
    By banjoman in forum Customize Desktop
    Replies: 3
    Last Post: 08-06-2009, 06:02 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,464,011.70107 seconds with 17 queries