ZoomBanner
Example of ZoomBanner
|
Great for both messages and navigation! How do I use ZoomBanner ?
|
What are the parameters for ZoomBanner ?
|
Name |
Value |
Example |
|
AppletHomePage |
http://go.to/javabase |
|
|
bgCol |
The page background colour |
FFFFFF |
|
textCol |
The normal text colour |
880000 |
|
mouseCol |
Colour of text when the mouse is over it |
FFEEAA |
| sleep | Frame speed in milliseconds | 50 |
|
steps |
Number of frames per message |
30 |
|
messages |
See below for details |
|
| font | The font | Courier |
| fontsize | The font size | |
| fontstyle | Type i for italic and b for bold | ib |
| verticalSpread | How much the letters fly up and down | 10 |
What about the "messages" parameter ?
Like other javabase applets, the messages options are specified using the following formats:
{Message} |
For an unlinked option or tree node |
{Message,Link} |
For a link to be opened in the same frame |
{Message,Link,Frame} |
For a link to be opened in a different frame. Frame can also be "_new" for a new window, "_parent" for the frame's parent, "_top" for the top frame or "_self" for the applet's frame. |
So, for example, to make a link to altavista which opened in a frame called "main" the option would look like:
{Altavista,http://www.altavista.com/,main}
Using javascript
In order to use javascript as a link, you must add MAYSCRIPT to your applet tag, eg:
<applet code="ZoomBanner.class" MAYSCRIPT>
You must then include your javascript as links, for example:
{Click me,javascript:alert('hello')}
How can I register?
Click here for registration details