DHTML : Version Control - 15 Nov 2001

Description: The script on this page performs tests to determine whether the browser is running Microsoft Internet Explorer. It creates a Boolean "Expando" property on the window object "RunningIE4" and "RunningIE5" that allows for easy checking in any scripts included later in the page.

Browser/Platform Compatibility
This function will work on any browser that supports either VBScript or JavaScript.

Usage
Use version control functionality in your code if you want to write conditional code based on the user's browser.

Complete Article

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish