VMaxButtons_LiteII

Add life to your pages with VMaxButtons_LiteII Applet. This applet is designed to be controlled with JavaScript, one can use it to make tickers, or dynamically show text messages from JavaScript event handlers.

GeoCities - Welcome to our community
Place mouse over this link and other links below

Downloads page
Back to Main Page

HTML Applet tag example:

<APPLET CODEBASE="./"
  CODE="vmaxbuttons_liteii.class" 
  NAME="mainlogo"
  HEIGHT=60 WIDTH=420
>
<PARAM NAME="KEY"            VALUE="Free Version">
<PARAM NAME="AUTHOR"         VALUE="Virtual_Max (http://come.to/vmax)">
<PARAM NAME="BGCOLOR"        VALUE="ffccff">
<PARAM NAME="BGIMAGE"        VALUE="xmaingeo.gif">
<PARAM NAME="TICKERHEIGHT"   VALUE="40">
<PARAM NAME="DEFAULTMESSAGE" VALUE="VMaxButtons_LiteII applet demo">
<PARAM NAME="TICKERCOLOR"    VALUE="000080">
<PARAM NAME="SHADOWCOLOR"    VALUE="808000">
<PARAM NAME="TICKERFONT"     VALUE="Dialog,1,16">
<PARAM NAME="OVERLAY"        VALUE="xmaingeoovl.gif">
<PARAM NAME="ALIGN"          VALUE="top">
</APPLET>

TICKERFONT parameter includes fontname,fontstyle and font size separated by commas
Use one of the following platform independent font names:
Dialog, InputDialog, Helvetica, Courier, TimesRoman
0
for Plain and 1 for Bold font. One can use 2 for Italicsand 3 for BoldItalics, but due to bug in some versions of Netscape navigatorJava Virtual Machine I do not recommend to use Italics font styles.

KEY and AUTHOR are obligatory parameters,do not change or remove AUTHOR parameter.
"Free Version" Of the applet will add link back to my site, if you want to get rid of this, please, follow registration instructions.

COLORS   All colors are in the same format as HTML hexadecimal colors, but without # radix simbol.SHADOWCOLOR is optional parameter and if omited no text shadows will be drawn. .

IMAGES  BGIMAGE is backgroungimage, if this image's size is less than the applet itself, it will be tiled.Overlay image is one to be drawn upon background and moving message, using transparent overlay images allows to make some interesting effects, you can omit optional OVERLAY and BGIMAGE parameters.

TICKERHEIGHT parameter defines the height of ticker area( required parameter)

ALIGN can be "top" or "center" defines the vertical alignment for tickers texts in ticker area.

Additional features Applet automatically splits long messages into several lines of text and center it in tickerarea. One can force line splitting with symbols, but at least one space character before and one more after it is required.

JavaScript Functions

Cut'n'paste this script between <HEAD> and </HEAD> tags in your HTMLsource.
It contains show(message) applet interface function,and checkbr() function for internal use and browser detection.Global variable brOK can shows result of last browser detection.

<SCRIPT language="JavaScript">
<!-- Hide Script 
var brOK=false;
var aver=parseInt(navigator.appVersion.substring(0,1));
var aname=navigator.appName;
function checkbr()
{if(aname.indexOf("Internet Explorer")!=-1)
   {if(aver>=4) brOK=navigator.javaEnabled();} 
 if(aname.indexOf("Netscape")!=-1)
   {if(aver>=3) brOK=navigator.javaEnabled();}
}
function show(s)
{checkbr();
 if(brOK)
  if(document.applets!=null)
    if(document.mainlogo!=null)
      if(document.mainlogo.ready!=null)
        if(document.mainlogo.ready==true)
          {document.mainlogo.showMessage(s);}
}
//----end hide---->
</SCRIPT>

Now you can use this show("Hello World") function.For use with mouseOver events you can do something like this:

<A HREF="home.html"
onMouseOver='show("Back to main Entrance.")'
onMouseOut='show("