Wrox Programmer Forums
|
BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0
This is the forum to discuss the Wrox book Professional JavaScript for Web Developers by Nicholas C. Zakas; ISBN: 9780764579080
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 12th, 2007, 02:55 AM
Registered User
 
Join Date: Feb 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Layout engine detection question

Does anyone have an idea how to detect the layout engine by javascript? We know Gecko is for FF and Trident is for IE (windows) and Tasman for IE(Mac), however how can we use js to detect it directly, e.g by parsing the user agent string?
There's an indirect work around that we can infer the layout engine based on the browser type, version and OS, but I don't think this way is precise enough since the rule is not very strict. For example, maybe IE for mac will switch to another layout engine in the feature but no more Tasman.






Similar Threads
Thread Thread Starter Forum Replies Last Post
browser detection Adam H-W Javascript 0 January 20th, 2007 09:55 AM
flash detection catchrohith Classic ASP Basics 0 November 18th, 2006 01:29 AM
unique children detection rjonk XSLT 1 June 30th, 2006 11:20 PM
Infinite Loop Detection jtdang77 Classic ASP Basics 0 October 14th, 2003 05:32 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.