One of my students is building a tennis web page. His buttons are tennis balls and he wants the cursor to change to a tennis racket when he moves it over the button. Any ideas on how to make this happen, Javascript or not?
This is a CSS problem - so you need to creat the cursor as a .cur fileType (I think) then use the following:
img.ballButton {cursor : url("myCursor.cur"...}
and you would include this in the style definition for the image - or as above use a class for all the buttons. There are other generic cursor types too - which you can specify. You can comma separate alternative cursors, just in case.Bj
b2 - benbiddington@surf4nix.com
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.