home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / Share / Java / ScriptBuilder / NOSB30_TRIAL.exe / data1.cab / Program_Files / CompLib / browserComponent.scc < prev    next >
Encoding:
Text File  |  1998-10-05  |  2.9 KB  |  70 lines

  1. <!--Created with NetObjects Script Component Pad-->
  2. <!-- file browserComponent.ecc
  3.         ScriptComponent Interface file for browser.js  -->
  4.  
  5. <?XML?>
  6. <!DOCTYPE COMPONENT SYSTEM "ecmascriptcomponent.dtd">
  7.  
  8. <COMPONENT NAME="com.netobjects.browserComponent" ENV="client"
  9.                DISPLAYNAME="Browser"
  10.                HINT="Creates a browser component that detects and performs unique functionality based on browser type."
  11.                SRC="browser.js">
  12.  
  13.    <PROPERTY NAME="name" TYPE="STRING"
  14.                  HINT="(REQUIRED) Enter unique name of the control. Must exactly match the name of the corresponding JavaScript object on the page."
  15.                  DEFAULTVALUE="browser1">
  16.                  </PROPERTY>
  17.      
  18.  
  19.     <METHOD NAME="getCurrentBrowserInt"
  20.                DISPLAYNAME="getCurrentBrowserInt"
  21.                HINT="Function returns an integer value which corresponds to the type of browser.">
  22.                </METHOD>
  23.     
  24.     <METHOD NAME="getCurrentBrowserStr"
  25.                DISPLAYNAME="getCurrentBrowserStr"
  26.                HINT="Function returns an string value which corresponds to the type of browser.">
  27.                </METHOD>
  28.  
  29.     <METHOD NAME="getCurrentBrowser"
  30.                DISPLAYNAME="getCurrentBrowser"
  31.                HINT="Function detects the browser type and executes the event that is linked to that particular component.">
  32.                </METHOD>
  33.  
  34.     <EVENT NAME="onIE"
  35.               DISPLAYNAME="onIE"
  36.               HINT="Event that executes upon detection of all versions of Microsoft Internet Explorer"/>
  37.     <EVENT NAME="onIE3"
  38.               DISPLAYNAME="onIE3"
  39.               HINT="Event that executes upon detection of Microsoft Internet Explorer Version 3"/>
  40.     <EVENT NAME="onIE4"
  41.               DISPLAYNAME="onIE4"
  42.               HINT="Event that executes upon detection of Microsoft Internet Explorer Version 4"/>
  43.     <EVENT NAME="onIE5"
  44.               DISPLAYNAME="onIE5"
  45.               HINT="Event that executes upon detection of Microsoft Internet Explorer Version 5"/>
  46.     <EVENT NAME="onNS"
  47.               DISPLAYNAME="onNS"
  48.               HINT="Event that executes upon detection of all versions of Netscape Navigator."/>
  49.     <EVENT NAME="onNS2"
  50.               DISPLAYNAME="onNS2"
  51.               HINT="Event that executes upon detection of Netscape Navigator Version 2"/>
  52.     <EVENT NAME="onNS3"
  53.               DISPLAYNAME="onNS3"
  54.               HINT="Event that executes upon detection of Netscape Navigator Version 3"/>
  55.     <EVENT NAME="onNS4"
  56.               DISPLAYNAME="onNS4"
  57.               HINT="Event that executes upon detection of Netscape Navigator Version 4"/>
  58.     <EVENT NAME="onNS5"
  59.               DISPLAYNAME="onNS5"
  60.               HINT="Event that executes upon detection of Netscape Navigator Version 5"/>
  61.     <EVENT NAME="onOther"
  62.               DISPLAYNAME="onOther"
  63.               HINT="Event that executes upon detection of all other browsers"/>
  64.     
  65.     <ICON SRC16="browser.gif"/>
  66.  
  67.     <HELP SRC="Browser.html"/>
  68.     
  69. </COMPONENT>
  70.