This is an old revision of the document!


NAV_LIST_UL (Parameter)

Docu:
Forum: http://forum.phpwcms.org/viewtopic.php?t=12165

Autor: K.Heermann (flip-flop) http://planmatrix.de
CMS-Version: >= V1.2.7
Version:

Short declaration: (see also NAV_LIST_UL full example css file)

Tag:

{NAV_LIST_UL: 
menu_type,  
start_id, 
max_level, 
class_path, 
class_active, 
ul_id_name, 
wrap_ul_div(0=off, 1=<div>, 2=<div id="">, 3=<div class="navLevel-x">), 
wrap_link_text(<em>|</em>)

Filename:
Folder: – (System)
Condition:




@string $parameter = “menu_type, start_id, max_level, class_path, class_active, ul_id_name, wrap_ul_div(0 = off, 1 = <div>, 2 = <div id=””>, 3 = <div class=“navLevel-x”>), wrap_link_text(<em>|</em>)”

E.g.: {NAV_LIST_UL:F, 19, 10, NLU_CSS, NLU_ACT, NLU_ID, 2, <em>|</em>} (Not a real one).

No parameter comment
1 menu_type[[F,VCSS,HCSS]P] - F = active path unfolded,
- VCSS = vertical, all levels unfolded, add special code for vertical CSS flyout menu,
- HCSS = horizontal, all levels unfolded, add special code for horizontal CSS flyout menu
- P = Out put of the parent link and in combination with F, VCSS, HCSS like FP, VCSSP, HCSSP. (Sinze V1.3x)
2 start_id Point of start (The ID you see at site structure)
3 max_level From start_id X level deep
If max_level = 0 no limitation, max_level=1 limits to the first level - there will be no sub <ul> displayed and so on…
4 class_path <ul class=“act_path”>
<li ….
5 class_active <ul class=“act_path”>
<li class=“sub_ul act_path active sub_first”><a href=”….</a>
<ul class=“act_path”>
6 ul_id_name individual name for ul_id and li_id
7 wrap_ul_div ( wrapping a div container around every <ul>…..</ul>
- 0 = off nothing
- 1 = <div> <ul>
<li class=“sub_no”><a href=”….</a></li>
<li class=“sub_ul”><a href=”….</a>
<div>
<ul>
<li class=“sub_ul”><a href=”….</a>
<div>
- 2 = <div id=””> <ul>
<li class=“sub_no”><a href=”….</a></li>
<li class=“sub_ul”><a href=”….</a>
<div id=“ul_div_30”>
<ul>
<li class=“sub_ul”><a href=”….</a>
<div id=“ul_div_32”>
<ul>
<li ….
- 3 = <div class=“navLevel-x”> <div class=“navLevel-0”> <ul>
<li class=“sub_no”><a href=”….</a></li>
<li class=“sub_ul”><a href=”….</a>
<div class=“navLevel-1”>
<ul>
<li class=“sub_ul”><a href=”….</a>
<div class=“navLevel-2”>
<ul>
<li ….
- )
8 wrap_link_text(<em>|</em>) <li class=“sub_no”><a href=”….”><em>Link Text</em></a></li>
xx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

⇒ And several combinations of this reproduced stuff.

english/navigation/nav_list_ul_parameters.1242219061.txt.gz · Last modified: 2018/06/03 18:08 (external edit)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0