Offline Documentation :
Microsoft Word Document :
jonetAdBanner.doc (90k)
Text Document : jonetAdBanner.txt
(15k)
Online Documentation :
HTML Example
<applet code="jonetAdBanner.class" width=468 height=60>
<param name="starton" value="1">
<param name="timewait" value="3">
<param name="image_1" value="advert1.gif">
<param name="image_2" value="advert2.jpg">
<param name="image_3" value="advert3.jpg">
<param name="url_1" value="http://www.javaobjects.net/">
<param name="url_2" value="http://www.javaobjects.net/">
<param name="url_3" value="http://www.javaobjects.net/">
<param name="target_1" value="_top">
<param name="target_2" value="_top">
<param name="target_3" value="_top">
<param name="appear_1" value="normal">
<param name="appear_2" value="top">
<param name="appear_3" value="bottom">
</applet>
Installation and Configuration
Download the class file. Use the "Buy Now" button
above.
Copy the above code (in bold) into your HTML (note, not the
content) of your web page, then copy the class file into the
same directory. You may wish to
adjust the WIDTH and/or HEIGHT to suit your advert image
files. Standard advert banners are 468 by 60 pixels, but
you can use any size (we recommend 468 x 60).
Create your advert image files in any graphics package
(for example Windows Paint) and save as GIF or JPEG. The
adverts must be the same width and height in pixels as you
specify above. You can customise your applet by changing the
following parameters :
starton - Specify which image to start
displaying (for example, "1" for the first image.
Specify a value of minus one ("-1") for the applet to display
a completely random image, every time the page is viewed.
|
|
timewait - Specify the number of seconds to wait before
displaying the next image in sequence. Specify a value
of minus one ("-1") to keep the single image displayed for the
duration of the page view. So, if starton = 1 and timewait =
10, the first advert will be displayed, and there will be a 10
second pause between images. If starton = -1 and
timewait = -1 then a random image will be displayed upon
loading the page, which will stay the same until the user
clicks on.
|
image_n - Specify the name of the image
file, including suffix (eg .GIF). These files must
reside in the same folder as the html page and the class file.
The value of n must start at 1 and be incrementing
(1,2,3 etc)
|
url_n - The URL to go to if the user
clicks on the advert.
|
target_n - The target window to
open the URL in. Valid values of _top _self _parent or
_blank.
|
appear_n - The special effect for how the
next image will appear :
- "normal" : next image will just appear
- "top" : next image will scroll from top, down
- "bottom" : next image will scroll from bottom, up
- "left" : next image will scroll from left to right
- "right" : next image will scroll from right to left
|
Note : For every
value of n all four parameters must exist.
In other words, if there is an image_17, there must also be
a url_17, target_17 and appear_17 parameter. If you do
not wish to specify a URL or target window, leave the value
as blank (i.e. ""). If you do not wish to specify a
special effect, use the value of "normal" <param
name="image_8" value="advert8.gif">
<param name="url_8" value="">
<param name="target_8" value="">
<param name="appear_8" value="normal">
Color Hex Values and URL Target Values
More information on calculating color hexadecimal values
and what URL Target window values mean can be found
here.
Download Demo
There is a demo version which you can use to try out the
applet before purchasing. Demo version is fully
functional, but every URL will
point to this page (not the page you specify). Replace
the name of the class in the html above with
jonetAdbannerDemo.class Download here :
jonetAdBannerDemo.class
[home] [products]
[site map] [license
information] [support]
[links] |