General Community > WebsiteBaker Website Showcase
ecozon
(1/1)
GRID8400:
And baked another one:
http://www.ecozon-zonnepanelen.nl/
(with dummy content)
8-)
crnogorac081:
looking nice
Vincent:
Looks real good!
You could consider making it even better by replacing the text Vervolgmenu with something like
--- Code: ---
<?php
// Submenu alleen tonen als dat gevuld is
ob_start();
show_menu(1,2,1,true,'<li>[a][menu_title][/a]','</li>','<ul>','</ul>','','class="current"');
$childmenu=ob_get_contents();
ob_end_clean();
if ($childmenu!="") {?>
<div class="menu_left">
<h1><?php show_breadcrumbs('',2,true,0);?></h1>
<?php echo $childmenu; ?></div>
<?php } ?>
--- End code ---
You'd get the 1st level menu item as a heading, and its children as a sub menu list.
Regards,
Vincent
GRID8400:
--- Quote from: Vincent on February 15, 2010, 10:50:50 AM ---Looks real good!
You could consider making it even better by replacing the text Vervolgmenu with something like
--- Code: ---
<?php
// Submenu alleen tonen als dat gevuld is
ob_start();
show_menu(1,2,1,true,'<li>[a][menu_title][/a]','</li>','<ul>','</ul>','','class="current"');
$childmenu=ob_get_contents();
ob_end_clean();
if ($childmenu!="") {?>
<div class="menu_left">
<h1><?php show_breadcrumbs('',2,true,0);?></h1>
<?php echo $childmenu; ?></div>
<?php } ?>
--- End code ---
You'd get the 1st level menu item as a heading, and its children as a sub menu list.
Regards,
Vincent
--- End quote ---
Excellent tip!! thank you..
will try it out probably tonight..
Argos:
Nice site, good job!
Navigation
[0] Message Index
Go to full version