Setup:
Below is the syntax for the HTML code that is
required to implement the 1st JAVA Tab into your web or Intranet site.
There is also a description of each part of
the syntax.
- The blue part of the syntax is the HTML code which
should NOT be altered (be sure not to leave out any of the semi-colons!)
- The red part of the syntax may be altered
according to the values and text that you require.
The HTML
code may be copied from here below or alternatively,
copy the code from our sample file and alter just the
values in red to your own needs.
After you have constructed your tabs, please have a look
here to see which files have to be uploaded to the web server.
Example:

<APPLET CODE="JAVATab2.class" WIDTH=220 HEIGHT=300> |
CODE="JAVATab2.class" |
The name of the applet. This
may not be altered. |
WIDTH=220 |
The actual width of the
applet. It may be altered to your needs. Please don't use % value. |
HEIGHT=300 |
The actual height of the
applet. It may be altered to your needs. Please don't use % value. |
<PARAM NAME="COPYRIGHT"
value="(c)1997 AUSCOMP (www.auscomp.com)"> |
- This applet parameter is mandatory and may
not be altered or removed.
- If it is missing or misspelt, there will be
a message "Copyright parameter missing!" and the applet
branches will not show.
- Provided it s there and correctly written,
the applet will work.
- As we are required by law to have our
copyright information written within our products (for legal and support reasons), this
was one of the 'least' conspicuous places that we were able to place it.
- The only other option would have been a tab
and this would have been even more obvious.
|
|
Tab
HTML code:
- Red text = your text
- Blue text = applet text that must
remain
- <PARAM NAME="TAB0"
VALUE="Overview;
overview.htm; main;Status bar text;Optional2ndlink.htm; _blank">
|
<PARAM NAME= |
Start of HTML code line for
applet parameter. |
"TAB0" |
- Each new tab must have an increasing increment and must
start with 0.
- Each begins with "TAB" EG:
- TAB0
= First parameter
-
- TAB1
= Second parameter
-
- TAB2
= Third parameter ...
-
- and so on.
|
VALUE="Overview; |
This text should be the
description of the tab label. |
overview.htm; |
This refers to the name of
the HTML file that you want this tab linked to. |
main; |
- This should be the name of the frame where the file that you
previously specified is located.
- Writing "_blank" here will open a new browser
window.
|
Status
bar text; |
Mouse-over status bar text |
Optional2ndlink.htm; |
Second URL link (Optional) |
_blank; |
- Second target frame (Optional)
- This will open a new browser window.
|
> |
End of HTML code line for applet parameter |
Tab HTML code for tabs
on "Top" or tabs on "Bottom" :
<PARAM
NAME="TABONBOTTOM" VALUE="No"> |
VALUE="No" |
|
VALUE="Yes" |
 |
Tab HTML code for default start tab:
<PARAM
NAME="TABONBOTTOM" VALUE="999"> |
0
- 999 |
- The default start Tab has values ranging from 0-999.
- When the value is set to 999, the
first tab will become the current one and no HREF (HTML
Reference) will be executed.
- When set to any value other than 999, that
tab value nominated will become the current one showing and the HREF (HTML Reference) will
be executed there.
- EG:
- When nominated tab = 999 -
Current tab = First tab - No HREF executed
-
- When nominated tab = 0
- 998 - Current tab = Nominated tab - HREF is executed
|
Some important tips:
- Calling an e-mail window:
-
- <PARAM NAME="TAB1"
VALUE="E-Mail; mailto:team@auscomp.com.au;
_self; Please send us your feedback; none; none">
- The red text may be substituted for your own details.
- The blue text (including the
semi-colons etc) must remain.
- What may currently NOT be altered in this particular
version:
- It is only possible to have ONE row of tabs
at this stage.
- There are direction buttons for scrolling to view all tabs
that are not seen within the width of the frame.