To build a vertical menu you need two main elements tobe included or linked to an HTML page, which are :
Both files are quite long, should explain well use only the file you need to edit to change the appearance menu, ie the CSS file (style sheet, because that other one should not be changed and does not need explanations.
Another necessary element is obviously the menu, that is, you must have already defined what is the list of menu items and submenu of each item with links to the files to be opened.. On the page of our example we can put this scheme with the menu their titles, again as an example, which then everyone will be able to change:
| ||||||||||||||||||||||||||||||||||||||||||
WRITE A VERTICAL MENU The menu is written as 'unordered list' with the following elements
To start a sub open a line <li> with MenuBarItemSubmenu class "followed by a sub-list <ul> with many rows <li> ........ </ li > how many are the submenu items. To the ends of the sub-list is closed with </ ul> You must attribute the menu class. The menu class is called MenuBarVertical and its properties can be found in the style sheet SpMenuBarV.css . So we have the following instructions, with reference to the above menu :
|
||||||||||||||||||||||||||||||||||||||||||
Let's write just to give an example the menu's page and remind that it is essential to check that the address of files to which it refers is correct, relative to the directory where the file that contains the menu is placed
|
||||||||||||||||||||||||||||||||||||||||||
A PRACTICAL TRICK
The menu can be used into an iframe or as you want. Enjoy The same menu can be done only with <DIV>- ....... <DIV>
|
||||||||||||||||||||||||||||||||||||||||||