Click to See Complete Forum and Search --> : Sniff Code and conditional statements


hbush
03-23-2004, 11:37 PM
Hi, Can anyone help me. I have been searching the web for some javascript code that detects the OS, then allows me to not show certain elements on the screen.

Specifically, I need to detect if the user is on a Mac. If yes, I don't want to show a link I have to a "print page" function.

thanks.

Kor
03-24-2004, 02:49 AM
this might help you

http://www.help4web.net/webmaster/Java/NewJS/DetectUserOperatingSystem.html