spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / javascript / column6


Common Object Detection Routines

Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

In this section we'll present a list of common object detection routines. We'll regularly add more objects to the list. Feel free to send us requests and suggestions (tomer@netscent.com).

Object / StatementDescription
if (document.images) ...Does the browser support image rollovers and JavaScript-based animations?
* if (window.RegExp) ...Does the browser support regular expressions?
if (window.setInterval) ...Does the browser support setInterval()?
if (document.layers) ...Does the browser support layers?
if (window.Option) ...Does the browser support the Option object (usually for relational menus)?

* This object detection routine does not work with Internet Explorer 4.0 PR1 (Preview Release 1).

http://www.internet.com

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint

Created: November 4, 1997
Revised: December 4, 1997
URL: http://www.webreference.com/js/column6/list.html