Ultimate Database

Printer Friendly Page

Login

Menu (CSS)

{CSS_MENU(src_id, rel_id, c1, cType, cCls1, cCls2, Arrow1, Arrow2)}

Displays a menu using Java Script and special CSS code:

'src_id' is the id of the root menu item such as the home page.

'rel_id' is the id of the relationship type used to link the menu items. -101 is the default as this is the system Menu Relationship Type

'c1' is either 'T' of 'F' indicating True if the root item (indicated by src_id) is to be displayed on the menu.

'cTyp' is either 'topbar' or 'sidebar' depending on the type of menu you require. Default is 'sidebar'

'cCls1' is the class name for Level 1 items. Default is 'markermenu'

'cCls2' is the class name for Level 2 items. Default is blank.

'Arrow1' and 'Arrow2' indicate the type of arrows to be used for Level 1 and Level 2 of the menu.

'true' is the default and indicates that an arrow is to be used at that level. The default arrow colour is blue
'false' is also an option and indicates that an arrow is not to be used.
A colour can also be specified. Currently supported colours are aqua, black, blue, dkgreen, dkred, gray, green, lime, navy, orange, purple, red, skyblue, white and yellow
A path to your own arrow gif image can be included but it must be in the following format (including quotation marks):- "path";width;height
The path will look something like "orgfiles/ZORGF000001/rightarrow.gif"

A valid CSS needs to be linked as a component to the page. For an example of a valid menu CSS see object 49764.

 Useful Links

Google

Bing

W3 Schools

ebay

play.com

amazon.co.uk

DELL

BBC

Rain Today

1and1