SWITCHMENU | |||
|
An easy way to insert a Dynamic Drive switchmenu onto a page: Copy to clipboard
The text enclosed will be tansformed in a switch menu:
The lines preceeding first "!" header or link are encapsuled between styles tags. They should conform to the CSS sysntax (not including the | default | choices | Definition |
| persistmenu | yes | no | should the menu choice persist (DD original) |
| persisttype | sitewide | local | menu persists across site or for this page only (DD original) |
| menu | V | H, | menu bars set horizontal or vertical; or custom trailer |
| item | V | H, | items set horizontal or vertical; or custom trailer |
Note that persistmenu=yes will produce cookies, one per page if persisttype=local.
Caution: only one switchmenu in the global page !
Actually, you can just enclose any wiki with "!" headers in the switchMenuPlugin, then the page is switched 😛
See code and example attached.
Demo: http://toggg.com/tiki/tiki-index_raw.php?page=colorado
colorado defines, toggg codes.
The plugin is pretty stable now and fully usable.
Nevertheless, some improvment will be made: