Style attributes for menu
From FundaWiki
When designing the index.php - or we can call it the front-end, that is what the users see when the visit our homepage
We need to design the menu bar as well, In my case I wanna the 1. level to be horizental and level 2 and 3 to be vertical.
Lets get startet, by default you find your index.php inside the /fundanemt dir call fundanemt.php
In the top of the fundanemt.php file you find the "Style attributes for menu"
The default linies frome level 1 fundanemt.php looks like this:
//style attributes for menu level 1. //+active -submenu -show $arrayMenuStyle[1]['IOO'] = "<a href=\"URL\" class=\"l1\">TITLE</a>
"; //+active +submenu +show $arrayMenuStyle[1]['III'] = "<a href=\"URL\" class=\"l1\">TITLE</a>
"; //-active +submenu -show $arrayMenuStyle[1]['OIO'] = "<a href=\"URL\" class=\"l1\">TITLE</a>
"; //-active -submenu -show $arrayMenuStyle[1]['OOO'] = "<a href=\"URL\" class=\"l1\">TITLE</a>
"; //-active +submenu +show $arrayMenuStyle[1]['OII'] = "<a href=\"URL\" class=\"l1\">TITLE</a>
";
Lets break some of it up:
[1] telling me that we are on level 1
[2] telling me that we are on level 2, and so on...
[0] is a failback
['IOO'] ['III'] ['OIO'] ['OOO'] ['ABC']
A is to tell is the menulink is active or not
B is to tell if there is submenu links
C is to tell if the submenus is hidden or not
O = off
I = on
Ex:
['III'] is to tell that the menulink is active and there is submenu links and they are show`n also.
['OII'] is to tell that the menulink is not active, but there is submenu links and the submenu is show`n
--Clars 00:19, 25 October 2006 (CEST)
