a little javascript help please.

  Post new topicThis topic is locked: you cannot edit posts or make replies.Printable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   a little javascript help please.
5WRonin
CZ Newbie
5WRonin has been a member for over 19 year's 19 Year Member
usa.gif oregon.gif
Gender: Male
Status: Offline
Joined: Dec 03, 2004
0.00 posts per day
Posts: 6
Points: 400
   
Ok I am looking for the code to have javascript verify if someone has CSS capability. I found one to see if the person has cookies enabled but I can't find one for CSS capability. Any and all help is appreciated.



Back to top Reply with quote
#2   re: a little javascript help please.
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.48 posts per day
Posts: 3765
Points: 351,412
   
I may be wrong, but I don't think there's a way to detect what you're asking. It's not like detecting Javascript, because you can't turn off CSS in your browser the way you can Javascript.

The closest that you can come to it is creating different stylesheets for each browser. You can then detect the browser and make it use the appropriate stylesheet.



Back to top Reply with quote
#3   re: a little javascript help please.
_Aerospace_Eng_
CZ Active Member
_Aerospace_Eng_ has been a member for over 20 year's 20 Year Member
usa.gif
Age: 39
Gender: Male
Status: Offline
Joined: Nov 09, 2004
0.03 posts per day
Posts: 200
Points: 10,133
   
i agree kelly, IE and Netscape dont really correspond with the same css, same goes for mozilla also, i had to make two style sheets and i redirect the user according to their browswer.




_________________
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicThis topic is locked: you cannot edit posts or make replies.

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum