Customizing Cloud Menu
To control look-and-feel, Cloud Menu allows you to specify a large range of options as attributes in the XML configuration. It is best to look at the examples to see how these work. The following tables show the possible tags that you can use in Cloud Menu, together with their attribute settings:
|
CloudMenu
|
|
background Examples: images/background.jpg,images/background2.jpg |
|
rotateSpeed Examples: The speed that the menu rotates when the mouse is outside it.,1 |
|
TextNode
|
|
color Examples: #0000ff,#ff0000 |
|
font Examples: #0000ff,#ff0000 |
|
fontSize Examples: The font size to use.,12 |
|
frame Examples: _self,_top |
|
link Examples: http://www.yahoo.com,http://www.bbc.co.uk |
|
mouseOverColor Examples: #0000ff,#ff0000 |
|
mouseOverTextColor Examples: #0000ff,#ff0000 |
|
padding Examples: Padding around text.,4 |
|
rounding Examples: The rounding on the background rectangles.,4 |
|
scale Examples: Scale the size of this branch,1 |
|
shadow Examples: Set to 0 for no shadow, or a positive integer for that size of shadow.,4 |
|
showBackground Examples: true,false |
|
spacing Examples: Controls how far apart nodes rest from each other.,5 |
|
text Examples: Text 1,Text2 |
|
textColor Examples: #0000ff,#ff0000 |
|
SphereNode
|
|
color Examples: #0000ff,#ff0000 |
|
mouseOverColor Examples: #0000ff,#ff0000 |
|
shadow Examples: Set to 0 for no shadow, or a positive integer for that size of shadow.,4 |
|
size Examples: The size of the sphere node.,1 |
Styles
It is often useful to apply the same attributes to a whole section of XML. In order to do so, you can include such attributes in the special <style> </style> tag. All of the attributes in the style tag are applied to the elements it contains.
External configuration files
You can also include external configuration files in your XML. To do this, use a tag like this: <include file="filename"/>
Extra Customization
If you would ike to include new fonts, images or other effects, please write to us with a feature request.