Rotating Banner
The rotatingBanner component rotates different images in a banner, like
many advertisements on the Web. If clicked, it sends the user to another
URL; the target URL depends on the image clicked. The rotatingBanner
component doesn't need any CGI and is useful for pages with a lot of
advertisers and which require an equal distribution of advertising time.
Properties
name
DisplayName - Name
Description - Internal Name of Component in HTML page.
Type - String
DefaultValue - rotatingBannerComponent1
rotatetime
DisplayName - Rotate Time
Description - Number of Seconds between ad rotations
Type - Number
DefaultValue - 2
imagesrc
DisplayName - Image Name
Description - The HTML name of the Banner
Type - String
Methods
addToArray
DisplayName - Add To Banner Array
Description - Method to add additional items to banner.
Parameters
url
DisplayName - URL
Description - URL to link to.
img
DisplayName - IMAGE
Description - Image file to be displayed
VisitAdvertiser
DisplayName - Visit Advertiser()
Description - Function to goto advertisement URL
RotateBanner
DisplayName - Rotate Banner
Description - Function to start the rotation of the advertisement banner
render
DisplayName - Render
Description - Function to create the HTML Image object to be used as the banner.
Events
loadBanner
DisplayName - Load Banner
Description - Event fires on load of page.
Other Information
Environment: Client