Projects
Java text banner
Usage
Copy and paste the code below into your page. It is based on code developed by Shayne Steele to provide cross-browser compatibility for Java plug-in (see http://ww2.cs.fsu.edu/~steele/XHTML/appletObject.html for more information).
First you need to adjust width and height of the applet. Then use additional parameters described in the next section to customize its appearance. Please note that each parameter must be specified twice - in inner and outer 'object' tag.
<!--[if !IE]>--> <object width="439" height="91" classid="java:Banner.class" archive="Banner.jar" type="application/x-java-applet"> <param name="codebase" value="http://www.ponticstar.com/projects/textbanner" /> <param name="archive" value="Banner.jar" /><param name="Parameter" value="Value"><!--<![endif]--> <object width="439" height="91" classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"> <param name="codebase" value="http://www.ponticstar.com/projects/textbanner" /> <param name="archive" value="Banner.jar" /> <param name="code" value="Banner" /><param name="Parameter" value="Value"><strong> This browser does not have a Java plug-in.<br /> <a href="http://java.sun.com/products/plugin/downloads/index.html"> Get the latest Java plug-in here. </a> </strong> </object> <!--[if !IE]>--> </object> <!--<![endif]-->
Parameters
Below is a list of parameters for this Java applet:
BgColor- Background color. Default value is0C8C95Font- Default value isTimesRomanFontSize- Default value is20Text- Text string to be displayedTextColor- Default value is000000TextColorAlt- Alternative text color. Default value isC0C0C0TextPosHorz- Horizontal text position.TextPosVert- Vertical text position.TextAlignHorz- Horizontal text alignment. Possible values areleft,rightandcenter. Default value iscenterTextAlignVert- Vertical text alignment. Possible values aretop,bottomandcenter. Default value iscenterTextEffect- Currently onlyJumpIneffect is supported which is a default value.Image- Path to image file to be displayedImagePosHorz- Horizontal image position.ImagePosVert- Vertical image position.ImageAlignHorz- Horizontal image alignment. Possible values areleft,rightandcenter. Default value isleftImageAlignVert- Vertical image alignment. Possible values aretop,bottomandcenter. Default value istopURL- Web address that this banner is pointing to. Default value ishttp://www.ponticstar.com/projects/textbanner/
Download
If you would like to have Banner.jar on your server please use the following link to download it.
Just make sure that parameter with attribute codebase in the above code contains the path to where you saved this file.
Download Banner.jar (5.54 KB)