Welcome! Our Tools - BpBrowser
- BpControl
- BpDownloadUrl
- BpLabel
- BpMarker
- BpMarkerLight
- BpMarkerList
About Us Licensing Fees Support Contact Us

808-281-3359


BpBrowser Reference

Introduction

Download

This class provides a simple interface to platform information. It's what G_BROWSER used to be. An object called BpBrowser will be created automatically when you include the source file. It contains the following properties.

There is no fee for commercial use of BpBrowser.

BpBrowser.os

Code:
if(BpBrowser.os == BpBrowser.X11) alert('Hello, compadre.')


Remarks:

The valid os values are:
  • BpBrowser.MAC
  • BpBrowser.WINDOWS
  • BpBrowser.X11

BpBrowser.type

Code:
if(BpBrowser.type == BpBrowser.MSIE)
alert('Please be patient...')


Remarks:

The valid values for type are:
  • BpBrowser.FIREFOX
  • BpBrowser.MOZILLA
  • BpBrowser.MSIE
  • BpBrowser.OPERA
  • BpBrowser.SAFARI

BpBrowser.version

Code:
if(BpBrowser.type == BpBrowser.MSIE
&& BpBrowser.version < 7)
doImageFilter()