Easily change the cursor on your site

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Easily change the cursor on your site
Dauthus
CZ Addict
 Codezwiz Site Donator
Dauthus has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 60
Gender: Male
Website:
Status: Offline
Joined: Mar 17, 2004
0.06 posts per day
Posts: 426
Points: 15,917
   
A simple way to change your site's cursor is to do the following:

#-----[ OPEN ]---------------------------------------------
#
includes/javascript.php

#
#-----[ FIND ]---------------------------------------------
# at the end of the file
?>

#
#-----[ BEFORE ADD ]-----------------------------------
#
echo "<style>\n";
echo "<!--\n";
echo "BODY{\n";
echo "cursor:url(\"YourFile.ani\");\n";
echo "}\n";
echo "-->\n";
echo "</style>\n\n";

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#


Upload the cursor image to your root directory (The same place as mainfile.php.)

The cursor has to be either an "ani" or "cur" file.

There are thousands of different images you can use for a cursor, and all you have to do is change the YourFile.ani to the actual name of your cursor file (and upload the file to your site's root directory) any time you want to change it.

To see it in action click on my sig and take a look.



_________________
[ Register or login to view links on this board.]
Vivere disce, cogita mori
Back to top Reply with quote
#2   re: Easily change the cursor on your site
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
Kelly_Hero has been a member for over 20 year's 20 Year Member
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 58
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.50 posts per day
Posts: 3765
Points: 351,412
   
Cool. Thanks for sharing that Dauthus. Should come in handy for someone looking to change their cursor. icon_razz.gif



Back to top Reply with quote
#3   re: Easily change the cursor on your site
dkwds
CZ Active Member
dkwds has been a member for over 19 year's 19 Year Member
uk.gif
Occupation: Student
Age: 37
Gender: Male
Website:
Status: Offline
Joined: Jul 29, 2004
0.04 posts per day
Posts: 282
Points: 12,713
   
[ Register or login to view links on this board. ]

Found that on a google search.




_________________
Back to top Reply with quote
#4   re: Easily change the cursor on your site
ippl_page_guy
CZ Newbie
 Codezwiz Site Donator
ippl_page_guy has been a member for over 18 year's 18 Year Member
usa.gif missouri.gif
Gender: Male
Fav. Sports Team: New England Patriots
Website:
Status: Offline
Joined: Dec 08, 2005
0.00 posts per day
Posts: 8
Points: 528
 Yahoo Messenger  
One question,

How can u save something off of Paint as a "ani" or "cue" file?

I have tried this same thing many many times and never found out. Do i need to download something just to save it as a "ani" or "cue" file?


Thnx in advance

ipg



Back to top Reply with quote
#5   re: Easily change the cursor on your site
michael112
CZ Newbie
michael112 has been a member for over 18 year's 18 Year Member
usa.gif michigan.gif
Occupation: H.V.A.C.
Age: 62
Gender: Male
Fav. Sports Team: detroit red wings
Website:
Status: Offline
Joined: Oct 12, 2005
0.00 posts per day
Posts: 9
Points: 683
  MSN Messenger 
noob ?? where do I find the file to edit



Back to top Reply with quote
#6   re: Easily change the cursor on your site
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 55
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.09 posts per day
Posts: 643
Points: 57,200
   
search yahoo/google for free cursor
cursor image extensions comes as .cur or .ani
if you wanna use it with your php nuke site Dauthus explained as put it at your web site root
if you wanna use it for your own use at your pc put it in C:/WINDOWS/Cursors




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#7   re: Easily change the cursor on your site
Philippe
CZ Newbie
Philippe has been a member for over 18 year's 18 Year Member
Gender: Female
Status: Offline
Joined: Dec 12, 2005
0.00 posts per day
Posts: 14
Points: 1,002
   
change it in the CSS section:

<html>
<head>
<title> ... </title>
<style type="text/Css">
body
{
cursor:url("mycursor.cur");
}
</style>
</head>
<body>
</body>
</html>

that it icon_smile.gif



Back to top Reply with quote
#8   re: Easily change the cursor on your site
michael112
CZ Newbie
michael112 has been a member for over 18 year's 18 Year Member
usa.gif michigan.gif
Occupation: H.V.A.C.
Age: 62
Gender: Male
Fav. Sports Team: detroit red wings
Website:
Status: Offline
Joined: Oct 12, 2005
0.00 posts per day
Posts: 9
Points: 683
  MSN Messenger 
Thank You ,
Great Help
Merry Christmas



Back to top Reply with quote
#9   re: Easily change the cursor on your site
Philippe
CZ Newbie
Philippe has been a member for over 18 year's 18 Year Member
Gender: Female
Status: Offline
Joined: Dec 12, 2005
0.00 posts per day
Posts: 14
Points: 1,002
   
same to you. happy christmas icon_wink.gif



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum