Basic Parameters :
You can choose the width and
the height of J-Ads through the WIDTH and
HEIGHT parameters.
You must have TWO or more banners
(gif or jpeg format) to fill image_0, image_1,
... parameters. Banners must have the same size
!
Links
matching to banner should be filled through alink_0,
alink_1, ... parameters. They are displayed in
the Status Bar when active. During transitions links are
not active.
wait
parameter defines the sleep time between transistion.
Extra Parameters (for advanced users) :
Extra parameters allows the user
to choose his own transistions, target frames and refresh
rate. Optional click counter is also available for web
servers that support CGI.
You can choose the number of frame
per second through the fps parameter (default
is 15).
You can choose the target frame of
the link through frame_0, frame_1, ... parameters.
frame_x should be :
|
You can now
count clicks on banners if your web
server supports CGI. Fill in the clickcounter
parameter with the PATH to jads.cgi then configure
the server-side of J-Ads Pro. To
do so :
|
Adjust the PERL path matching
to your web server (i.e #!/usr/bin/perl)
in jads.cgi
Upload jads.cgi and
check that it is readable and executable
(chmod 755).
Create an empty file
: jadslog.txt
with RW right (chmod 766)
in the same directory as jads.cgi. If
you manage multiple J-Ads Applets
then create as many files jadslog_ID.txt as applets,
each must have RW right access.
|
Default connection
port with web server is 80 but you can force it through
the port parameter.
You can specify
the ID extension of log filename (only for multiples
J-Ads Applets) through the ID parameter.
(i.e. id value is 402 then jadslog_402.txt will
received click info).
You can use
the debug mode through the debug parameter
(values are yes or no) when clickcounter seems not to work.
|
You can force your own transition
by filling all the following three parameters :
grid
: NbLinesxNbCols defined in banners.
transition
: Transition between features of the grid. You can choose
between fade,
leftright, updown, rollup and rolldown.
direction
: direction (propagation) in grid transitions. You can
choose between updownleftright, updownrightleft, downupleftright, downuprightleft and empty (no propagation).
Here is an example :
<PARAM NAME="grid"
VALUE="10x10">
<PARAM NAME="transition" VALUE="fade">
<PARAM NAME="direction" VALUE="downuprightleft">
As you can see possibilities are many,
who dares try them :). If you don't use these three parameters,
the applet will choose them randomly.
J-Ads
does not work when I upload it on the server !?!??
First of all check that you uploaded
jads.class AND Area.class in BINARY mode. Secondly
check location and filename (in the HTML
code) of banners (warning GIF or JPEG format only for
banners).
How
to use J-Ads with external banners ?
You must host the banners, Java does
not allow connections with servers different from the
one hosting Applet (Security Policy). Anyway if you
try load external banners through J-Ads you will get:
"Error loading banners, check location" or a
Security exception !
How
to choose the server which host J-Ads ?
Fill in the CODEBASE parameter in
the Applet tag (i.e. CODEBASE="http://www.theDomain.com/theDirectory/").
Default is "./".
The
clickcounter doesn't work ?!?
First all of check that you web server
allow CGI and PERL. Secondly edit jads.cgi to fill in
the PERL path (i.e. #!/usr/local/bin/perl). Then check
jads.cgi is "chmod 755" and jadslog.txt is "chmod
766". Finally check that the clickcounter parameter
is the absolute path to jads.cgi.
jads.cgi
doesn't work on Windows Web Server ?!?
Yes, jads.cgi use "flock functions"
not implemented on Windows 9x/NT ,download the jadspro-win.zip and try again.