I have an idea for a template layout where I need to place individual menu items in a kind of open menu - like this:
(I have inserted heading tags <H1>..<H3> to help show what I mean)
[ external image ]
All the <H1> and <H2> menu items must be visible all the time - the last <H3> line must change according to selected <H2> submenu.
Hope it makes sense...
Is this possible?
Idea for "open" menu
Re: Idea for "open" menu
I suppose the simplest solution is to split the menu. Displaying the <h3> line according to the selected <h2> submenu is very simple:Korvell wrote:All the <H1> and <H2> menu items must be visible all the time - the last <H3> line must change according to selected <H2> submenu.
Code: Select all
<?php echo toc(3, 3);?>
Code: Select all
<?php
$temp = array();
foreach ($hc as $i) {
if ($l[$i] < 3) {
$temp[] = $i;
}
}
?>
Code: Select all
<?php echo $li($temp, 1);?>
Full code:
Code: Select all
<?php
$temp = array();
foreach ($hc as $i) {
if ($l[$i] < 3) {
$temp[] = $i;
}
}
echo li($temp, 1), toc(3, 3);
?>
Christoph M. Becker – Plugins for CMSimple_XH