WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • main menu + sub menu
  • Print
Pages: [1]   Go Down

Author Topic: main menu + sub menu  (Read 5208 times)

joycesf

  • Guest
main menu + sub menu
« on: October 06, 2010, 09:49:12 AM »
Hi Guys... I need to know how this done... you can see it on the top right sidebar.

main menu and the submenu

http://scholarscanada.com/adults/general-public-seniors/

http://www.itoklantenservicecentrum.nl/wb/pages/actueel.php

thanks in advance

Joyce :)
Logged

joycesf

  • Guest
Re: main menu + sub menu
« Reply #1 on: October 06, 2010, 10:42:01 PM »
pretty please :)... anyone direct me to the solution?  argos or anyone?... thanks :)
Logged

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: main menu + sub menu
« Reply #2 on: October 07, 2010, 07:01:49 AM »
Take a look at the template AllCSS (with drop down) ... it already has this effect.

cheers

Klaus
Logged

Offline PurpleEdge

  • Posts: 231
  • Gender: Male
    • the northern beaches
Re: main menu + sub menu
« Reply #3 on: October 07, 2010, 08:23:14 AM »
I think there is an add-in available for Superfish menus available at AMAST - I can't remember if it is a module, or something else?

This looks like a Superfish menu?

Edit: there is a discussion of it here...

https://forum.WebsiteBaker.org/index.php/topic,18520.0.html
« Last Edit: October 07, 2010, 08:40:04 AM by PurpleEdge »
Logged

Argos

  • Guest
Re: main menu + sub menu
« Reply #4 on: October 07, 2010, 07:43:42 PM »
There are several options to create submenu: multiple showmenus, droplets (showchildren, sitemap, etc), snippets, modules. On the itoklantenservicent rum.nl site I used this snippet:

Code: [Select]
<?php 
// Submenu region, only shown when submenu&#39;s are available
ob_start();
show_menu2(0, SM2_ROOT+1, SM2_CURR+2, SM2_ALL|SM2_CURRTREE);
$childmenu=ob_get_contents();
ob_end_clean();
if (
$childmenu!="") {
?>


<div id="sidemenu">
<?php show_menu2(0, SM2_ROOT, SM2_MAX, SM2_CRUMB|SM2_CURRTREE,&#39;<h2>[menu_title]</h2>&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,false,false); ?>
<?php show_menu2(0,SM2_ROOT+1,SM2_CURR+2,SM2_ALL|SM2_CURRTREE); ?>  
</div>
<?php } ?>

Logged

joycesf

  • Guest
Re: main menu + sub menu
« Reply #5 on: October 08, 2010, 08:21:23 PM »
Thank you guys... and Argo... that's the one I am looking for... it works beautifully, thanks :)
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • main menu + sub menu
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2