Installation
Instructions:
STEP 1 -
Create Your JAN
If you still don't have the animation JAN
you wish to use, please run Windows JanTool (JAN.EXE)
STEP 2 - Copy
The Java Applet To Your HTML Directory
Copy the following 3 files from the
directory where you have unzipped the
"package.zip" to your HTML
directory (the directory where your HTML
pages are located):
JAnimation.class
JAnimation.cab
JAnimation.zip
Important! Do Not unzip
the file "JAnimation.zip" !! It
must remain in its current zip format!
STEP 3 - Insert The
Necessary HTML Tags To Your Page
If you're using a JavaScript
enabled browser, please use our Code
Generator
page to create the necessary HTML
code, then simply edit your HTML
page and paste the code you got
into your site.
|
If you're NOT using a
JavaScript enabled browser, please copy
the following lines into your page, and
then follow the instructions below!
<!-- BEGIN JAnimation CODE -->
<CENTER><APPLET
CODE="JAnimation.class"
ARCHIVE="JAnimation.zip"
WIDTH=ENTER-WIDTH HEIGHT=ENTER-HEIGHT>
<PARAM NAME="cabbase"
VALUE="JAnimation.cab">
<PARAM NAME="sap"
VALUE="JAN-STRING">
<PARAM NAME="url"
VALUE="LINK-URL">
<PARAM NAME="pushURL"
VALUE="PUSH-URL">
<PARAM NAME="gif"
VALUE="GIF-URL">
</APPLET>
</CENTER>
<!-- END JAnimation CODE -->
Please,
modify the above code as follows:
Replace the red
marked word
"ENTER-WIDTH" with your
JAN width + 2 (in pixels).
Replace the red
marked word
"ENTER-HEIGHT" with
your JAN height + 17 (in pixels).
If you're using a REGISTERED
version, replace it to the height
of your JAN presentation (in
pixels) + 2 instead.
Replace the red
marked word
"JAN-STRING" with your
entire JAN! (If you saved it as a
JAN file, open it in an editor
and "copy + paste" from
there. DON'T break the line by
inserting "Enters"!
Replace the red
marked word "LINK-URL"
with the complete URL you wish to
be linked to when you applet is
clicked. (Example:
"http://www.MySite.com/index.htm").
If you want to use the applet as
an image-map (and your server
supports server-side image-maps),
you can enter here the full path
to a ".map" file!
(Example
"http://www.MySite.com/imagemap.map").
If you want the
presentation to link to a
different page when the animation
is over (useful for opening
pages), replace the red marked
word "PUSH-URL" with
the complete URL you want to
automatically link to (Example:
"http://www.MySite.com/index2.htm").
If you don't want it, delete the entire
line!
If you want your
presentation to display a GIF
when the animation is over,
replace the red marked word
"GIF-URL" with the
complete URL of that GIF
(Example:
"http://www.MySite.com/logo.gif").
If you don't wish to use this
feature, delete the entire
line!
|