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 / rotatingBannerComponent.scc < prev    next >
Encoding:
Text File  |  1998-10-05  |  2.3 KB  |  67 lines

  1. <!--Created with NetObjects Script Component Pad-->
  2. <!-- file rotatingBannerComponent.ecc
  3.         ScriptComponent Interface file for rotatingBanner.js                        -->
  4.  
  5.  
  6. <?XML?>
  7. <!DOCTYPE COMPONENT SYSTEM "ecmascriptcomponent.dtd">
  8.  
  9. <COMPONENT NAME="com.netobjects.rotatingBannerComponent" ENV="client"
  10.                DISPLAYNAME="Rotating Banner"
  11.                HINT="Provides functionality to create a automatically updating advertisement banner."
  12.                SRC="rotatingBanner.js">
  13.  
  14.     <PROPERTY NAME="name" TYPE="String"
  15.                  DISPLAYNAME="name"
  16.                  HINT="(REQUIRED) Enter unique name of the control. Must exactly match the name of the corresponding JavaScript object on the page."
  17.                  DEFAULTVALUE="rotatingBanner1">
  18.                  </PROPERTY>
  19.  
  20.     <PROPERTY NAME="rotateTime" TYPE="Number"
  21.                  DISPLAYNAME="rotateTime"
  22.                  HINT="Number of Seconds between ad rotations"
  23.                  DEFAULTVALUE="2">
  24.                  </PROPERTY>
  25.  
  26.     <PROPERTY NAME="imagesrc" TYPE="String"
  27.                  DISPLAYNAME="imagesrc"
  28.                  HINT="The HTML name of the Banner">
  29.                  </PROPERTY>
  30.  
  31.     <EVENT NAME="loadBanner"
  32.               DISPLAYNAME="loadBanner"
  33.               HINT="Event fires on load of page."/>
  34.  
  35.     <METHOD NAME="addToArray"
  36.                DISPLAYNAME="Add To Banner Array"
  37.                ENV="CLIENT"
  38.                HINT="Method to add additional items to banner rotation.">
  39.       <PARAMETER NAME="url"
  40.                      DISPLAYNAME="URL"
  41.                      Hint="URL to link to."/>
  42.       <PARAMETER NAME="img"
  43.                      DISPLAYNAME="IMAGE"
  44.                      Hint="Image file to be displayed"/>
  45.                </METHOD>
  46.  
  47.     <METHOD NAME="visitAdvertiser"
  48.                DISPLAYNAME="visitAdvertiser"
  49.                HINT="Function to goto advertisement URL">
  50.                </METHOD>
  51.  
  52.     <METHOD NAME="render"
  53.                DISPLAYNAME="render"
  54.                HINT="Method to create the HTML Image object.">
  55.                </METHOD>
  56.     
  57.     <METHOD NAME="rotateBanner"
  58.                DISPLAYNAME="rotateBanner"
  59.                HINT="Function to start the rotation of the advertisement banner">
  60.                </METHOD>
  61.  
  62.     <ICON SRC16="rotatingbanner.gif"/>
  63.  
  64.     <HELP SRC="RotatingBanner.html"/>
  65.     
  66. </COMPONENT>
  67.