
|
|
 |
ildAdBanner
Demo
WildAdBanner is a demonstration of how WildView can be used to create automatically
rotating advertising banners on a web page. Each ad that you create can use any of the
WildView modules, thereby giving you the power to create very unique advertising
banners.
Also, each banner can have its own display time -- the more your client pays, the longer you might
display his ad.
There are two rotating ad panels in this example, which should provide you with a good idea of
the possibilities.
|
|
 |
pplet
Tag
The applet tag for the WildAdBanner applet
is shown below.
<APPLET CODEBASE="../../Java"
WIDTH="336" HEIGHT="48"
CODE="WildViewApplet.class">
<PARAM NAME="updateSound"
VALUE="DocExamples/WildAdBanner/laser.au">
<PARAM NAME="panelSet1"
VALUE="DocExamples/WildAdBanner/Stones.TXT">
<PARAM NAME="panelSet2"
VALUE="DocExamples/WildAdBanner/VisualWorld.TXT">
</APPLET>
|
Notice that two panels sets are used by WildAdBanner: one panel set is used for each
of the banners.
Notice too that there is a "updateSound" parameter. The "updateSound"
parameter causes the specified sound to be played whenever WildView detects a panel set change. In this
example, the sound will be played each time the ad rotates to draw attention to the new ad.
|
|
|
anel
Set Files
The panel set file that defines the "Stone Palace"
advertising banner is shown below.
time=40
<PANEL name=bannerImage module="WVPanelImage"
x=0 y=0 w=336 h=30
loadTrigger=message
image="DocExamples/WildAdBanner/Stones.JPG"
displayX=0 displayY=0 displayW=336 displayH=30>
<PANEL name=message module="WVPanelHScroll"
x=0 y=30 w=336 h=18 clock=50
justify=middle fontSize=12 fontStyle=bold
pause=enter rate=2 initWait=bannerImage
fontColor=ff0000 background=000000
mouseX=0 mouseY=0 mouseW=336 mouseH=48>
CLICK to jump to the Stone Palace. The Stone Palace is your complete source for every
stone, brick, and rock construction need!
<PANEL name=weblink module="WVPanelURL"
x=0 y=0 w=336 h=482
url="../Examples/WildAdBanner/Stones.html"
target=WildAdBanner>
|
The panel set file that defines the "VisualWorld"
advertising banner is shown below.
time=30
<PANEL name=bannerImage module="WVPanelImage"
x=0 y=0 w=48 h=48
loadTrigger=message
image="DocExamples/WildAdBanner/VisualWorld.JPG"
displayX=0 displayY=0 displayW=48 displayH=48>
<PANEL name=messageFrame module="WVPanelFrame"
x=48 y=0 w=240 h=48
size=2 color1=686EE0>
<PANEL name=message module="WVPanelVScroll"
x=53 y=2 w=230 h=44 clock=50
justify=center fontSize=14 fontStyle=bold
fontColor=AD6BCD background=ffffff
pause=enter initWait=bannerImage
mouseX=0 mouseY=0 mouseW=336 mouseH=48>
<TRIGGER panel=bannerImage displayX=0 displayY=0 displayW=48 displayH=48>
Visual World is having a<BR>GIGANTIC<BR>EYE POPPING<BR>SALE!<P>
<TRIGGER panel=bannerImage displayX=48 displayY=0 displayW=48 displayH=48>
Save BIG on our entire line of cameras, camcorders, and lenses!<P>
<TRIGGER panel=bannerImage displayX=96 displayY=0 displayW=48 displayH=48>
Our entire line of film and blank video tape is also on sale for a limited
time only!<P>Click to jump the Visual World super sale!
<PANEL name=sale module="WVPanelText"
x=288 y=0 w=48 h=48
blink=true clock=250
fontSize=14 fontStyle=bold fontColor=FF0000
justify=center background=7ccce5>
Sale!<BR>Sale!<BR>Sale!
<PANEL name=weblink module="WVPanelURL"
x=0 y=0 w=336 h=482
url="../Examples/WildAdBanner/VisualWorld.html"
target=WildAdBanner>
|
The "time" setting that appears as the first line of each panel set
determines how long the ad will be displayed before the next panel set is loaded.
|
|
|
mage Files
The image files used by the WildAdBanner
applet are shown below.
|
|
| Copyright ©
1997 by Modern Minds, Inc. |