background preloader

Все10— Клавиатурный тренажер

Все10— Клавиатурный тренажер

notproud.ru Практика онлайн бизнеса Create UML diagrams online in seconds, no special tools needed. ТопЭксперт The Warehouse Homepage Репетитор онлайн Fretlight.com Using the navigator object to detect client's browser Using the navigator object to detect client's browser Last updated: January 20th, 15' Until one browser remains standing on the web (if ever), browser detection will continue to be part of any good JavaScripter's life. Whether you're gliding a div across the screen or creating an image rollover, it's fundamental that only relevant browsers pick up on your code. The navigator object The navigator object was conceived back in the days when Netscape Navigator reined supreme. The navigator object of JavaScript contains the following core properties: Let's see exactly what these properties reveal of the browser you're currently using: appCodeName: MozillaappName: NetscapeappVersion: 5.0 (X11)userAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0platform: Linux x86_64 At a glance At a glance at the above table, you may be swayed towards turning to the following two properties to do your browser detection bidding: navigator.appName navigator.appVersion Output:

Tree Adventures The Bootstrapper&#039;s Bible <A HREF=" Widgets</A> Issue 8 | The Bootstrapper's Bible By Seth GodinPublished Nov. 16, 2004 3:00 p.m. Available to you once again! Download About Seth Godin | Seth Godin is a bestselling author, entrepreneur and agent of change. View 7 other manifestos by this author Request Processed Please Retweet Me All The Little Things Tag

Related: