The problem is that in previous versions of IE (before 6.0),
you get an error message if you try to use cursor:pointer... :-(
/Robert
-----Ursprungligt meddelande-----
Fr=E5n: Imar Spaanjaars [mailto:Imar@S...]
Skickat: den 12 september 2002 16:04
Till: JavaScript HowTo
=C4mne: [javascript_howto] Re: SV: BROWSER COMPATIBILITY
Hi there,
cursor:hand is the "old way" of doing things.
CSS2 specs state that cursor:pointer should be used.
Check out the CSS specs for more details:
http://www.w3.org/TR/REC-CSS2/ui.html#cursor-props
At least IE6 supports cursor:pointer. Maybe older versions as well, but
I
am not 100% sure.
Cheers,
Imar
> Hi,
the scrollbar thing only works in IE 5.5 and up.
Regarding the cursor, it has to be cursor:pointer for Netscape and
cursor:hand for IE (I know, it sucks...).
/Robert
-----Ursprungligt meddelande-----
Fr=3DE5n: Pallone, Claudio [KMR-SPC]
[mailto:Claudio.Pallone@k...]=3D20
Skickat: den 12 september 2002 16:27
Till: JavaScript HowTo
=3DC4mne: [javascript_howto] BROWSER COMPATIBILITY
Hi,
I have wrote this code so that when the user put the mouse over a link
the cursor changes to a hand - cursor:hand.
However, when I opened the page in Netscape 6.02, this does not work at
all. Does anyone know how to solve this annoying problem??
<span onClick=3D3D"Hide({$ColParameter})" =3D
style=3D3D"background-Color:#006699;
color:white; cursor:hand">Hide</span>
Also, I have changed the colour of my scrollbar as follow but again when
I view the page in Netscape 6.02, it doesn't work. How can solve this
problem??
<style>
<!--
BODY {
{scrollbar-face-color: #7193AC; scrollbar-shadow-color: #FFFFFF;
scrollbar-highlight-color: #7193AC;
scrollbar-3dlight-color: #7193AC; scrollbar-darkshadow-color: #666666;
scrollbar-track-color: #7193AC;
scrollbar-arrow-color: #FFFFFF;}
}
Cheers,
Claudio
BMRB International=3D20
http://www.bmrb.co.uk +44 (0)20 8566 5000
____________________________________________________________
This message (and any attachment) is intended only for the recipient and
may contain confidential and/or privileged material. If you have
received this in error, please contact the sender and delete this
message immediately. Disclosure, copying or other action taken in
respect of this email or in reliance on it is prohibited. BMRB
International Limited accepts no liability in relation to any personal
emails, or content of any email which does not directly relate to our
business.
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3D3Dnosim/theprogra
m
m=3D
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3D3Dnosim/theprogra
m
m=3D
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3D3Dnosim/theprogra
m
m=3D
e
r-20
---
Change your mail options at http://p2p.wrox.com/manager.asp or=3D20 to
unsubscribe send a blank email to
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20