cbutton

Written by Mark Qian (version F1.2)
-- AdWare --






Good News !! (See details below)



Running applets:

(It may take a while to load...)



(captionMode=3, action=SoundSwitch)


captionMode=0, soundmode=0
captionalign=center        
(share)
                
speed=3, captionMode=1, soundmode=1
(share)
speed=5, captionMode=2, soundmode=2 
       fixCaption = Shareware is better!!
       fixCaptionColor=vary, bgcolor=vary
(share)
                
speed=0, captionMode=2, soundmode=1
       fixCaption=Warning!!
(share)
speed=5, captionMode=0, soundmode=0
upImage = "", borderWidth=0, borderHeight=0 
fixCaption=Cool Web Zoo                         
fixCaptionColor=vary,fixCaptionBlink=1
(share)
                
<
speed=5, captionMode=0, soundmode=1  
captionalign=center 
borderWidth=5, borderHeight=5       
numCaption = 0
speed=7, captionMode=1, soundmode=0
upImage = "", borderWidth=0, borderHeight=0
(share)
                
<
captionMode=3, soundmode=2 
captionalign=center  
borderWidth=0, borderHeight=0
numCaption = 0



Description:

cbutton, Command Button, is a JAVA applet written 
by Mark Qian. It works as a command button with pictures 
and scrolling and muilt-line caption.  It also provides sound
when mouse over or click.  Its on_click parameter allows you 
open a given URL address when clicking.  In additional, it allows you display a
message in the status bar when mouse cursor move over the applet. Details
about how to install it in your page is available in below.

NOTE:      Both Adware (FREE) and shareware (NOT FREE) versions are 
           available. The parameters marked with (share) are only 
           available in shareware version. 
           


Good News!!

You can now use Adware version of CButton with full-feature during the period other than business hours. That is, all the functions in the Adware are available at a period from 7:00PM - 7:00AM. You can use your own parameters during that period. But during the period 7:00AM - 7:00PM, the caption and URL will be replaced by author's infor and URL. If you like to use it as an Adware with limited parameters instead of evaluate it's full-feature, you need to set parameter whatWare = Adware. (The default of whatWare is evaluteShareware). If you like to have all these features available full-time, you need to download the shareware version and register it to get the Registration Code to unzip the shareware package.

!!!!!!!!!!!!!!!! Be sure you try it with your own stuff during 7:00AM - 7:00PM !!!!!!!!!!!!!!!!!!!

IMPORTANT: ********* You have to make sure the Adware version (FREE) works fine in your server before you register the shareware version because you are buying a Code. That is, after you register the shareware (pay fee) only thing you will recieve is a Code which can be used to unzip the shareware package. The Code is NOT refundable, NOT returnable, and NOT exchangable. Don't register the shareware if you are NOT sure - It REALLY WORK in your server - You REALLY like to use the shareware. Parameters: captionMode - The way caption is displayed: 0 - display a static (still) multi-line caption. Of course, you can display only a single line caption by provide only one caption text and set parameter, numcaption to 1. Note: Multi-line is only available in shareware version (share). 1 - display a scrolling (moving) single-line caption horizontally. Caption1, caption2, ..., captionN will be scrolled in the order of their numbers. (share) 2 - display a scrolling (moving) single-line caption vertically. Caption1, caption2, ..., captionN will be scrolled in the order of their numbers. (share) 3 - display Caption1 originally and display caption2 after a click. Switch between Caption1 and Caption2 when clicking. speed - The speed of caption motion(1 - 30). soundmode - The way sound is played. 0 - Sound is played when mouse cusor over Animator 1 - Sound is played when clicking. audiofile - The audio file that should reside in the directory where the applet resides. upImage - The image displayed when cbutton is not pressed. downImage - The image displayed when cbutton is pressed. numCaption - Number of caption text. fixCaption - Display a static caption at the first row. fixCaptionColor - Determinate the color of the static caption. fixCaptionHeight - Height of static caption area. fixCaptionBlink - Make the static caption blick. caption1 - Caption text 1 caption2 - Caption text 2 (share) ... captionN - Caption text N (share) borderWidth - The bevelwidth of left and right edges(in pixel).Set to 0 if you don't like to have a border. borderHeight - The bevelwidth of top and bottom edges(in pixel) fontHeight - The size of caption font(1-100). fgcolor - Color of caption. You need to use the same code format like you use in HTML script such as #ff00ff. You can also set fgcolor = "vary". Value "vary" will give caption a random color periodically. background - URL of the Image which is used to paint caption area's background. This URL has to be a local one such as "images/brnpapr.gif". You can not use a URL that point to an address that is not in the server where the applet resides. If parameter background is valid, bgcolor will be ignored. bgcolor - Color of caption background. This feature can be overrided by parameter background(That is, if background presents, bgcolor will not effect. You need to use the same code format like you use in HTML script such as #ff00ff. You can also set fgcolor = "vary". Value "vary" will give caption background a random color each time the applet is called. fixCaptionColor - Color of static caption. You need to use the same code format like you use in HTML script such as #ff00ff. You can also set fgcolor = "vary". Value "vary" will give static caption a random color periodically. status_text - status text which will be displayed in the status. Just set it to "" to disable it. (share) action - determinate what to do when click "URL" - open the URL specified by "on_click" "SoundSwitch" - Turn Sound On or Off.(Note: This can only control those sounds played by Mark's applets. on_click - an URL address whose content will be opened by browser when clicking at the applet. Just set it to "" to disable it.



If you don't see any running applet or image above and get a message "class not found"
that means that 
  - You may forget to rename the class files(see readme.txt fro instructions)
  - You may rename class names to wrong names
Contact Mark Qian to get help.


More BETTER applets are available.