Results 1 to 2 of 2

Thread: inserting pic into roaming curser script

  1. #1
    Join Date
    Jan 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question inserting pic into roaming curser script

    1) Script Title: roaming curser

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...roamcursor.htm

    3) Describe problem: I need to know if i can use any gif for this script? I am the new webmaster for my local pop warner football team and i thought it would be cool to put a picture on each page as a roaming curser. If it is possible how do i do it?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Just experiment. In the script, you can assign the image here:

    Code:
    <SCRIPT language="JavaScript1.2">
    
    /*
    Roaming Cursor script (By Kurt at kurt.grigg@virgin.net)
    Modified and permission granted to Dynamic Drive to feature script in archive
    For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
    */
    
    //specify path to cursor image
    var cursorpath="cursor.gif"
    
    if (document.layers)
    {document.write("<LAYER NAME='PoInTe . . .
    At present, the image will be 17x22 pixels. If you were to edit the script, you might or might not be able to change that. As it is now, any image of a different size will be scaled to those dimensions by the script.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •