The FireWorksBanner java applet is a real time animated banner that can be used either as an animated menu or even better as a front page to your website. You can post the FireWorksBanner applet on the first page that comes up when someone enters your website and set it to link to your main page either upon clicking of the mouse button (using the 'url' parameter from the HTML source) or automatically after showing all of the messages once or the number of times you chose (using the 'autolink' parameter from the HTML source).
Each message can have its own unique color, url link and a status message to show when the mouse is in the applet window. Also you can set a default color and a default url for all of those that are not specified otherwise.
The size of each message will be calculated according to the size of the java window size you specify from the HTML source. The different parameters you can control are as follows:
"messages" -required- This is a required parameter and it refers to the number of messages to appear on the banner.
"rockets" -optional - This parameter determines the number of rockets (fireworks) to show at one time on the screen. You might consider keeping this number rather small so you won't put too much stress on some old computer systems. If this parameter is not used the default setting is 8.
"autolink" -optional - This parameter, when used, can have a numerical value, suggested to be between 1 and 10 but not limited to this range. What it does is simply to send the browser to the url defined in the 'url#1' parameter (or the default url if no specific url is set to 'url#1') after all of the messages were displayed this number of time. I think it's best to set this number to between 1 and 3 when using this applet as the front page of your website and then after the messages were displayed the browser automatically goes to your main page. Of course that clicking on the mouse button while in the applet window will send the browser to this url immediately.
"message#1" .. "message#n" -required - The message to be displayed at its turn.
"color" -optional - This is the default color for all of the messages that aren't specified otherwise. Possible values could be white, yellow, gray, gold, red, green, blue, magenta, cyan, pink, orange or any three numbers that represent the RGB value of a color seperated by commas, i.e. '231,231,107" (this is also the color used as default if no 'color' parameter is being used, it's a golden color).
"color#1" .. "color#n" -optional - This is the specific color for any message that shouldn't be governed by the default color. Possible values as in the 'color' parameter.
"url" -optional - The default url to link to upon clicking of the mouse. Any message that is not specified for it's own unique url will have that one. This can be either a relative url i.e. "yourpage.html" or an absolute url, i.e. "http://www.yourwebsite.com/yourpage.html"
"url#1" .. "url#n" -optional - The unique url for this specific message. 'url#1' is also the url to link to upon autolink'ing.
"target" -optional - The target frame to link on when sending the browser to another url. When not used this parameter defaults to "_top" which means the entire browser window currently showing the applet.
"status#1" .. "status#n" -optional - The unique message to be displayed on the window status bar (bottom) with the coresponding message in the applet.
The applet was written by Igal Sapir of dZiners.com and is based on the fireworks applet introduced in the book "Kick Ass Java Programming" by Tony Espesset. It is distributed free for all personal and commercial use. As it is being distributed free no warranty of any kind is given and the user takes all liabilities for anything that might happen (there are no known bugs and no real damage can really occur from using any applet but still you have to understand that I will take no responsibility for anything). Also note that the applet will automatically add a link to the author's website at the end of your messages, a small price to pay for using this beautiful applet for free, isn't it ?
To use it Click Here to Download and put both the FWbanner.class and the Rocket.class in the same directory of your HTML file.
From the HTML source you have to call only the fire.class applet code. Click 'view' and choose 'document source' to see how it is implemented here on this page.
Applet Creator: email@example.com