Base Mini-Library Documentation

SITE.util.Button(options)

Note: in order for the button to work, there must be an "images" folder containing the image files "buttonDown.gif" and "buttonUp.gif" inside the folder containing "sitescripts.js".

options:

id (String): The id attribute of the button
text (String): The text on the button
cursor (String): The cursor type when mouse is over the button
color (Hex-String): The color of the text on the button
decoration (String): The text decoration for the text on the button
action (function): The JavaScript code to be executed when the button is pressed

Example:





Content





SITE.util.Hint(options)

options:

text (String): The text of the hint
symbol (String)(1 char please): The inline symbol the user clicks on to show the hint
bgColor (Hex-String): The background color of the hint
color (Hex-String): The text color of the hint
linkcolor (Hex-String): The color of the inline symbol
borderColor (Hex-String): The color of the border of the hint
opacity (int-String)(0-100): The opacity of the hint (might not work in all browsers)
roundedCorners (boolean): True if the hint should have rounded corners, false otherwise

Example:


Text text text text