AD
(version F2.1)
--------------- Written by Mark Qian ---------------
(It may take a while to load images...Please wait.)
Mode=2 stable=1
(Stop scrolling when mouse cursor within AD)
It works with the applet, Message, below:
Message display the description about the
corresponding picture in Ad.
Message (Java Applet)
This applet works with Ad above:
Message displays the description about the
corresponding picture in Ad.
Mode=2, popMode=1
(Stop scrolling when mouse cursor within AD)
When popMode=1, Ad is opened as a popup window.
Description:
Ad is a JAVA appelt written by Mark Qian. It displays an user-specified
scrolling window with sound. Images are switch in a variety of styles
(15 styles) in a user-specified period. Each user-specified image can
be assigned an URL so that Ad open the URL when the corresponding image
is clicked. It plays a user-specified sound(an au file) when mouse cursor
moves over the applet area. A new style - popup Ad is added.
This is an Adware version (FREE). The Shareware versions with full functions is also available.
features: play sound anywhere(links text, icons, images, ...)
when mouse moves, clicks, page open, page close, ...
IMPORTANT: A bug in Netscape Navigator was detected: your page will appear
completely white(without fore and background) if there is a
Java applet with a very small size on the page. PLEASE SET
AD'S SIZE NOT LESS THAN 5 IN WIDTH AND HEIGTH WHEN YOU USE
AD IN POPUP MODE.
Parameters:
target - target window where the target URL will be opened.
You can set it to a sub frame if you use frames so
that the URL is opened in the sub frame. You can
also set it to one of following
_top
Bowser will place URL page into top-level window of the browser
_parent
Bowser will place URL page into parent window of the widnow
where HTML resides
_self
Bowser will place URL page into the widnow where HTML resides
_blank
Bowser will place URL page into a new window
speed - the speed of animation.
animatemode - 0 images are always scrolled.
1 images are scrolled only when mouse cursor within AD
2 stop scrolling when mouse cursor within AD
popMode - 0 Ad resides on the window where HTML resides
1 Ad resides on a new window above the window where HTML resides
2 Ad resides on both the window where HTML resides and
a new window above the window where HTML resides
stable - If images flash very much, you can set this parameter to 1
(default is 0) to have Ad use first 5 stable transition styles.
whichBase - 0 the applet uses DocumentBase. That is, applet will search resouces from
the directory where HTML file resides
1 applet uses CodeBase. That is, applet will search resouces from
the directory where Java class files resides.
popupWidth - Width of popup window
popupHeight - Height of popup window
title - Title of popup window
withURL - Set to 1 if you like to open an URL when clicking at a image.
Otherwise, you can set it to 0 and ignore on_click parameters.
peroid - The period between scrolling
borderWidth - The bevelwidth of left and right edges(in pixel).Set to 0 if you don't
like to have a border.
borderHeight - The bevelwidth of top and bottom edges(in pixel)
imgname - the names of image files.
dir - the subdirectory where image files reside
nimgs - number of images used for animation. (You can only use 3 images or less
in the Adware version. Go Shareware for full function.)
audiofile - the audio file that should reside in
the directory where the applet resides.
on_click1 ...
on_clickn - The URLs to be opened when corresponding image is clicked
image1...
imagen - Images to be displayed by AD
The sound played by this applet can be turn On/Off dynamically button another
applet wrtten by Mark Qian, CButton.
Please drop Mark a EMail if it works. Otherwise...
Troubleshooting:
If you see an error "Applet can't start: class ad not found"
or "Applet can't start: class ad got a security violation: method verification error"
in the status bar, that means that you didn't RENAME those class
files correctly. Their correct names are: ad.class, adload.class,
common.class, popup.class, and message.class.
(Please reopen your browser after you correct names of class files).
If you get error message other than that, read the instructions for installation in readme.txt
or please go to mark's home page
for detail instructions of installation and troubleshooting.