FXsinus.com HOME
The DHTML Menu - reloaded
    Browser Sniffer 1.0


  • Demo: Note: In the download version is no alert.
  • Browser: ie4+,n3+,n4+,n6,op5,op6


  • Description:
    Browser Sniffer 1.0 identifies different browsers by inquiring specific JavaScript objects (for instance: window.opera, window.netscape) and JavaScripts methods required for dynamic HTML (such as: document.getElementById, document.all).
    Having run the function dhInit(), you may use the following variables:
    1. op.................Opera browser
    2. ie.................Internet Explorer
    3. n3.................Netscape 3
    4. n..................Netscape 4x
    5. n6.................Netscape 6
    6. dom................DOM Model
    7. dh................dynamic HTML
    All these variables are boolean variables, in other words their value is 1 (true) or 0 (false).

    For example: if(op) alert("You are using an Opera browser");
    Only visitors using an Opera browser will see the alert.

    To identify an:
    Internet Explorer 4 use if(ie&&!dom)....
    Internet Explorer 6 use if(ie&&dom)....


  • Contributor: © 2002 Garfunkl
  • Script-size: 0.6 kb
  • uploaded: 05 11 02
  • last modified: 05 11 02
  • Paste the following code between
    the <head> tag and </head> tag:

Tidy up your websiteGet your website tidied up! Adding a DHTML Menu makes your web pages more attractive and helps visitors to find exactly what they are looking for.
Discussion Forum
Download FX Menu
   »    License & Purchase
DHTML Menu Samples ::
 »  DHTML Menu Samples Overview
 »  Horizontal DHTML Menu Sample
 »  Vertical DHTML Menu Sample
 »  Windows 98 Style
 »  Windows XP Style
 »  Microsoft.com
 »  Multiple Styles
 »  Multiple Colored Menus
 »  Image Based Menu
 »  Image Map Based Menus
 »  Background Images (LOTR)
 »  Absolute Positioning
 »  Relative Positioning (to a table cell)
 »  Pop Up with Relative Positioning
 »  Pop Up with Absolute Positioning
 »  Pop Up with Tooltip Positioning
 »  Absolute Positioned Submenus
 »  Tooltip Positioned Submenus
 »  JavaScript Functions
 »  Opening Windows & Targeting (i)frames
 »  Flickthrough Menu
 »  Show/Hide Submenus OnClick
 »  Item Sizing
 »  Item Positioning
 »  Scrolling (overflow)
 »  Tables (columns)
 »  API - Methods & Functions
 »  Displaying Multiple Submenus
Home | Forum | Link to us
FXsinus.com - Austria.
Vor der Bruck 15,
A-2770 Goodstone
 © Copyright 2001-2004 FXsinus.com, All Rights Reserved. webmaster@fxsinus.com