Click Button Applet |
Example of the Applet |
Above are examples of the Click Button Applet running on a web page. Each of the examples is configured differently to show how flexible this control can be. In order to use this control, you need to set up several parameters, these parameters are listed below, JavaDOC documentation is available for programmers, Java Documentation and the source is available below. If you use the background image parameter to set the background of the applet to an image, you must make sure your gif images are transparent. This applet is provided free of charge for use on your webpage, provided that you make a link back to my page from your page ( http://www.geocities.com/elricsgsx ), also please email me to let me know its in use!
Adding an applet to your page |
Table of Parameters |
Parameter Name | Description | Example |
ImageSrc | The first (main) image to display in the cycle, this is the image that will be delayed for a few seconds. | car.gif |
ImageDest | The secondary image to display in the cycle. Usually this will read "click me" or something similar | click.gif |
EnterNoise | The .AU sound to play when the mouse enters the button area | bipsound.au |
ClickNoise | The .AU sound to play when the mouse is clicked | camera.au |
ImageBkCol | The back colour (if no image is selected using ImageBkCol), gray, black, red or white | white |
ImageBack | The image background (if no colour selected) | backgnd.gif |
URLName | The URL to load, relative to the HTML file directory | javaExamples.html |
Target | The target frame, if you are using frames set this value, otherwise you do not set this parameter |
Example of directly editing your HTML code |
<applet code=ClickBtn.class name=ClickBtn width=100 height=100 >
<param name=ClickNoise value="camera.au">
<param name=EnterNoise value="bipsound.au">
<param name=ImageSrc value="car.gif">
<param name=ImageDest value="click.gif">
<param name=ImageBack value="backgnd.gif">
</applet>
Download the Applet |