Results 1 to 2 of 2

Thread: How do i create this mouse cursor in HTML?

  1. #1
    Join Date
    Apr 2008
    Posts
    3

    How do i create this mouse cursor in HTML?

    When you enter some websites, your mouse cursor changes.
    Example, from your default white arrow into an aeroplane or a mouse with a tail of words behind it.
    How do i do so in HTML programming?

    The mouse cursor will only change when the user is surfing my webpage and i want my own custom cursor and not some ready available cursors from windows.

    TQ

  2. #2
    Join Date
    Apr 2008
    Location
    Lakeland, FL
    Posts
    5
    Quote Originally Posted by fmpfmpf
    When you enter some websites, your mouse cursor changes.
    Example, from your default white arrow into an aeroplane or a mouse with a tail of words behind it.
    How do i do so in HTML programming?

    The mouse cursor will only change when the user is surfing my webpage and i want my own custom cursor and not some ready available cursors from windows.

    TQ

    First off, you have to create a valid cursor file (filename.cur) using a cursor creator or editor. Or just download one to use.

    Then, within your CSS, you can enter this:
    HTML Code:
    body{
        cursor:url(path/to/cursor/filename.cur);
    }
    Keep in mind that this only works in Internet Explorer. You won't see the cursor in FireFox or any other type of browser.

    -----------------------------------
    Mike Cotton
    http://www.internetdesigntips.com

Similar Threads

  1. Replies: 1
    Last Post: 25 Mar 2007, 03:53 PM

Posting Permissions

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