View Full Version : inserting pic into roaming curser script

01-12-2007, 12:48 AM
1) Script Title: roaming curser

2) Script URL (on DD):

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?

01-12-2007, 05:58 AM
Just experiment. In the script, you can assign the image here:

<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.