Click to See Complete Forum and Search --> : Changing mouse on website over


dark_light
11-26-2003, 08:15 PM
Hi

What i want is that when a website is loaded and is selected than on website over the mouse changes into the form i've stated using javascript. Please identify some resources where i could view the code to achieve that.

Thanx

Gollum
11-27-2003, 04:16 AM
I think what you're after is the cursor style. No Javascript needed. e.g.

<img style="cursor:crosshair;" src="myimg.gif">

dark_light
12-02-2003, 07:16 PM
No i didn't mean that. what i want is that when ever anyone browses the website his mouse changes to other shape defined by me. e.g if a user normaly uses white mouse or whatever the form of pointer ,and he browses the website his mouse changes to gray.
I think u got it now.

Thanx

Paul Jr
12-02-2003, 08:18 PM
If you've already created the image, which has to be in .cur format (I believe), then just slap this on your page.

<style type="text/css">
<!--
body {
cursor:url(Put the url of your cursor here);
}
-->
</style>


Try that.

dark_light
12-04-2003, 07:12 PM
thanx paul.
and what about mouseover on links, if i have my own link indicator .cur file?