Differences

This shows you the differences between two versions of the page.

english:navigation:little-helper:level-lift [2010/01/28 08:50]
Knut Heermann (flip-flop)
english:navigation:little-helper:level-lift [2018/06/03 18:09] (current)
Line 95: Line 95:
=== Level-based: === === Level-based: ===
-<code php|h Level check |h>>+<code php|h Level check |h>
[PHP] [PHP]
$my_image = 'img/backend/preinfo2.jpg';  // preset picture level 0 and 1 $my_image = 'img/backend/preinfo2.jpg';  // preset picture level 0 and 1
Line 152: Line 152:
Level = column No. 0, 1, 2, .... (relative navigation) \\ Level = column No. 0, 1, 2, .... (relative navigation) \\
ID= Numeral value of the side level in the side structure (move mouse over the little book sheet) (absolute navigation)   ID= Numeral value of the side level in the side structure (move mouse over the little book sheet) (absolute navigation)  
 +
 +\\
 +
 +**Since version r317 available:** //[[english/technics/system-variables#new_tag_levelx_id|New tag {LEVELX_ID}]] //
 +
 +<code php>
 +[PHP]
 +if(isset($GLOBALS['LEVEL_ID'][1])) {  // hier wird das erste Level abgefragt
 +echo '<div class="untermenu">'.LF;
 +echo '<h1>Filme</h1>'.LF;
 +echo '{NAV_LIST_UL:F,{LEVEL1_ID},1,act_path,active,,,#|}';
 +echo '</div>';
 +}
 +[/PHP]
 +</code>
 +
Have a look: [[english:navigation:nav_list_ul-example:navi-different-level]] Have a look: [[english:navigation:nav_list_ul-example:navi-different-level]]
english/navigation/little-helper/level-lift.1264665033.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