Help - Search - Members - Calendar
Full Version: cursor changes over box
Forums > Resource Center > Webmasters' Corner > Webmasters' Corner Resolved Topics
crazybabii412
Hey, I was wondering if anyone had the code for something. It's when you hover the mouse over a box, and the cursor changes (that is, until you hover it over another box). Don't know what I mean? Here's a link to Xquizit's cursor page.
Any help is greatly appreciated. _smile.gif
IGB
Look here.
crazybabii412
Thanks, but what I mean is a cursor that I've uploaded, not like the hand or resize cursors.
IGB
uh... try look in HERE

doesn't work for firefox though.
crazybabii412
That's alright, I don't use firefox.
And that is pretty awesome.
But is there a way for the cursor to stay as the cursor that it is as it hovers over the box as it is elsewhere on the page (other than on another box)?
Sorry, that sounds kinda confusing.
IGB
uh... I've never done that before. I guess you can't do it with CSS then. Probably with an inline "onMouseoveR" or something, just take out the "onmouseout" part. so it'll change everytime it hovers a "box" and stay that way until you get to the next one that changes it.

As for specific code, it's just a thought, so I dont know what the code is gonna be. Try poking around things, see if it works out.
talcumpowder
-murmur...- Sorry if it doesn't work, I'm sleepy. And this new CB has me all confused. Change the cursor part to the cursor you want to show up. Change the src to the image you want to show up...
CODE
<img style="cursor: url('1.ani')" src="cursor.gif">
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.