Detect-and-route with JavaScript
By Molly E. Holzschlag2005-03-31
Resources
• Consult current general browser usage and technology statistics
• Find a detection script:
• At the DevHead library• Learn to code your own detect scripts with Joe
• At JavaScripts.Com. Search for detect, and see the excellent tutorials in the table of contents
• At Developer.Com, which includes some browser detect options
• At Code Archives
• At Cut n' Paste JavaScript, which also offers news, support forums, and featured scripts
Burns's HTML Goodies JavaScript Tutorials
• Try out the JavaScript courses and self-study guides at Ziff
Davis University
• If you're interested in writing your own JavaScript, don't get caught without JavaScript: The Definitive Guide, by David Flanagan, from O'Reilly & Associates. If you're buying the book, grab Flanagan's companion JavaScript Pocket Reference, an indispensable resource for JavaScript coders.
• Danny Goodman's The JavaScript Bible from IDG books is extremely popular. For visual learners, Peachpit's Visual Quickstart Guide series offers up JavaScript for the World Wide Web by Tom Negrino and Dori Smith. Finally, Joe Burns's JavaScript Goodies from Que is packed with a wide range of JavaScripts, including detection and routing, that you're certain to find very handy.
Tutorial Pages:
» Keep users happy by using savvy scripts
» Serving user needs
» Planning ahead
» The rock-bottom lowest-common-denominator
» Route for technology, not content
» Finding scripts or rolling your own
» Detecting the details
» Routing by browser type
» Matching pages to display resolution
» Testing your scripts
» Summing up
» Resources
First published by IBM DeveloperWorks
