pthompson2002
08-21-2002, 09:32 AM
I know this is possible by editing the style sheet and adding cursor: hand; but this does not work in Netscape version 4.7. Is there are way to implement this in Netscape using javascript?
cheers
Pete
brothercake
08-21-2002, 09:53 AM
no; ns4 doesn't support cursor styles
glenngv
08-21-2002, 10:07 AM
just think of it like this:
if a style property is not working with CSS, then setting it using javascript will definitely not also work.
"hand" is also an invalid cursor value.
"pointer" is the correct one, and will work in NS6+, as well as IE6.
brothercake
08-21-2002, 05:19 PM
but not ie5 ...
I think you can go
cursor: pointer,hand;
to work for ie5 as well
alaios
08-21-2002, 09:41 PM
i want to change the cursor how i can do that?
whammy
08-22-2002, 12:05 AM
Hmm, that hand thing doesn't work for me in IE 5.5 (?) - but here's the basic idea of how to change the cursor with CSS for you alaios:
<html>
<head>
<style type="text/css">
<!--
body{
cursor: crosshair
}
-->
</style>
</head>
<body>
</body>
</html>
alaios
08-23-2002, 06:32 AM
do u know more cursor styles?
alaios
08-23-2002, 06:33 AM
If i ewant t o put a ico beside the cursos what i must do?
whackaxe
08-23-2002, 10:01 AM
you can in ie6 use
cursor: url(...); to have a custom cursor
and for alaios these are the differnet cursors
auto;
all-scroll;
col-resize;
crosshair;
default;
hand;
help;
move;
no-drop;
not-allowed;
pointer;
progress;
row-resize;
text;
vertical-text;
wait;
n-resize;
ne-resize;
nw-resize;
w-resize;
e-resize;
s-resize;
se-resize;
sw-resize;
all applicable in IE 6