Hello,
how can I change the cursor style for the whole window/page without going recursively over all document elements?
thanks,
Hello,
how can I change the cursor style for the whole window/page without going recursively over all document elements?
thanks,
<html>
<head>
<title>The title</title>
<style>
body {cursor: url('the cursor diractory');}
</style>
</head>
<body>
Contents...
</body>
</html>
I didn't test this ... So it may not work...
over all document elements pcbrainbuster, not just the body.
shooali: you should use the * selector, in case you don't know how to:
Code:* { cursor: url(somecursor.cur), default; }
thanks for the quick reply.
I need to do it from a javascript function. currently I user getElementById for the upper <span> on my page and sets its ...style.cursor to what I need, however, it does not influence the elements on the page that has their own style. How can I change the cursor style for the whole page from JS function? just like the cursor style change to wait or progress when you click a link and wait for the reply from the server.
thanks,
Bookmarks