FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

cursor image always code

 


Sparda
I have a code to set the cursor from an image. The cursor changes when going over links and I do not want that. Is there a code to make my cursor from my image always that image? I don't want the cursor to change.

~Thx in reply
Roald
Maybe you could post the code, that would be more helpfull.
Sparda
Code:
<style>BODY{cursor: url(http://www.spardaslayer.frih.net/cursor3.ani);}<br />
</style>


I thought maybe I could get a new code because this one changes. Anyway that is what a want. A never changing cursor.
Roald
Sparda wrote:
Code:
<style>BODY{cursor: url(http://www.spardaslayer.frih.net/cursor3.ani);}<br />
</style>
What does the <br /> there?? You must also know that in Firefox this code does not work, but it works in IE.
Sparda
hm, What cursor code would you recommend? I'm not really sure what the <br /> is for, I just got it from a site.
Roald
Well your code is pretty good, make sure it is in the head section and try it with IE. Oh, delete the <br />...
LukeakaDanish
If the above does not constantly change the cursor, you could try enclosing all of the stuff inside your body section in the following code:
Code:

<span style="cursor: url(http://www.spardaslayer.frih.net/cursor3.ani);">
...here goes the content...
</span>

Tell me if that works...otherwise I might be able to do some tacky javascript to do essentially the same thing.
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.