javascript enabled check?
Posted: Thu Aug 01, 2002 5:52 pm
Okie I was thinking about this and well... can't figure it out yet.
I want to use javascript layers in a new sitedesign I'm working on and well.. when people (those few idiots) have java switched off, the site gets completely messed up.
How would you make a layer only print out when people have java enabled.
Basicly I am using php to set the layer properties and content already and well it would be easy enough to just put that inside a:
if ($java == "yes"){ } thing. But can you use java to set that variable... I'm sure you can but it's client side... thus only gets processed after the php which would make that point mute.
Basicly I am saying.. can php check for java somehow... and without GET_BROWSER since my host hasn't got it installed.
I want to use javascript layers in a new sitedesign I'm working on and well.. when people (those few idiots) have java switched off, the site gets completely messed up.
How would you make a layer only print out when people have java enabled.
Basicly I am using php to set the layer properties and content already and well it would be easy enough to just put that inside a:
if ($java == "yes"){ } thing. But can you use java to set that variable... I'm sure you can but it's client side... thus only gets processed after the php which would make that point mute.
Basicly I am saying.. can php check for java somehow... and without GET_BROWSER since my host hasn't got it installed.