|
Post by Stormdance on Sept 5, 2005 10:11:22 GMT
List of script commands for use in 'On-mouse' events:
EXAMPLES %[object1]%.style.left=100; this.style.color='maroon'; %[textarea1]%.readOnly='true'; %[audiovideo]%.start();
POSITION style.visibility='hidden'; ('visible') style.left=20; (25%) style.top=20; (25%) style.width=75; (100%) style.height=75; (100%) style.zIndex=0; (0 / 1 / 2 etc. changes object layer)
TEXT style.color='blue'; (see colour notes below) style.fontFamily='Tahoma'; ('Arial' etc.) style.fontStyle='italic'; ('normal') style.fontWeight='bold'; ('normal') style.textAlign='center'; ('left', 'right', 'justify') style.textDecoration='underline'; ('none') style.textTransform='capitalize'; ('uppercase' 'lowercase')
BACKGROUND & BORDERS style.backgroundColor='navy'; (see colour notes below) style.backgroundPosition='0 50'; ('top left' 'bottom right' '25% 35%') style.borderColor='silver'; (see colour notes below) style.borderWidth=1; (2 / 3 / 5 etc.) style.borderStyle='solid'; ('none', 'dashed', 'dotted', 'double', 'groove', 'ridge', 'inset', 'outset') style.padding=1; (0 / 2 / 5 etc.)
FORM CONTROLS readOnly='true'; ('false') value='my text';
AUDIO VIDEO CONTROLS start(); stop();
COLOUR Valid colour values are: 'black', 'silver', 'gray', 'white', 'maroon', 'red', 'purple', 'fuchsia', 'green', 'lime', 'olive', 'yellow', 'navy', 'blue', 'teal', 'aqua'
...or... #RRGGBB Where RR, GG and BB are red, green and blue hexadecimal values between 00 and FF (e.g. #FF0000 is bright red). If you click the colour swatch in Antenna's script editor the correct colour value will be inserted automatically for you.
|
|