home *** CD-ROM | disk | FTP | other *** search
- <!--Created with NetObjects Script Component Pad-->
- <!-- file rotatingBannerComponent.ecc
- ScriptComponent Interface file for rotatingBanner.js -->
-
-
- <?XML?>
- <!DOCTYPE COMPONENT SYSTEM "ecmascriptcomponent.dtd">
-
- <COMPONENT NAME="com.netobjects.rotatingBannerComponent" ENV="client"
- DISPLAYNAME="Rotating Banner"
- HINT="Provides functionality to create a automatically updating advertisement banner."
- SRC="rotatingBanner.js">
-
- <PROPERTY NAME="name" TYPE="String"
- DISPLAYNAME="name"
- HINT="(REQUIRED) Enter unique name of the control. Must exactly match the name of the corresponding JavaScript object on the page."
- DEFAULTVALUE="rotatingBanner1">
- </PROPERTY>
-
- <PROPERTY NAME="rotateTime" TYPE="Number"
- DISPLAYNAME="rotateTime"
- HINT="Number of Seconds between ad rotations"
- DEFAULTVALUE="2">
- </PROPERTY>
-
- <PROPERTY NAME="imagesrc" TYPE="String"
- DISPLAYNAME="imagesrc"
- HINT="The HTML name of the Banner">
- </PROPERTY>
-
- <EVENT NAME="loadBanner"
- DISPLAYNAME="loadBanner"
- HINT="Event fires on load of page."/>
-
- <METHOD NAME="addToArray"
- DISPLAYNAME="Add To Banner Array"
- ENV="CLIENT"
- HINT="Method to add additional items to banner rotation.">
- <PARAMETER NAME="url"
- DISPLAYNAME="URL"
- Hint="URL to link to."/>
- <PARAMETER NAME="img"
- DISPLAYNAME="IMAGE"
- Hint="Image file to be displayed"/>
- </METHOD>
-
- <METHOD NAME="visitAdvertiser"
- DISPLAYNAME="visitAdvertiser"
- HINT="Function to goto advertisement URL">
- </METHOD>
-
- <METHOD NAME="render"
- DISPLAYNAME="render"
- HINT="Method to create the HTML Image object.">
- </METHOD>
-
- <METHOD NAME="rotateBanner"
- DISPLAYNAME="rotateBanner"
- HINT="Function to start the rotation of the advertisement banner">
- </METHOD>
-
- <ICON SRC16="rotatingbanner.gif"/>
-
- <HELP SRC="RotatingBanner.html"/>
-
- </COMPONENT>
-