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 »
  • menu: child to parent code
  • Print
Pages: [1]   Go Down

Author Topic: menu: child to parent code  (Read 5168 times)

Ogierini

  • Guest
menu: child to parent code
« on: June 30, 2009, 08:41:14 PM »
Hi guys,

I would like to make this menu expandable (uitklapbaar) so that when I make new pages, that these pages will be the child of the parent.  :wink:


Can someone help out with what to use underneath this?

Code: [Select]
<div id="menu">
        <?php show_menu2(0, SM2_ROOT, SM2_START); ?>
    </div>


Thanks!
Kind regards Irene
Logged

mr-fan

  • Guest
Re: menu: child to parent code
« Reply #1 on: June 30, 2009, 10:55:41 PM »
hi,

this site with all the possibilities of SM2 helped me personally o lot!

http://code.jellycan.com/sm2test/pages/parent.php

regards martin
Logged

Ogierini

  • Guest
Re: menu: child to parent code
« Reply #2 on: July 01, 2009, 03:00:39 PM »
Thanks, I saw this one allready....
It's quite complicated.....to implement
Logged

Ogierini

  • Guest
Re: menu: child to parent code
« Reply #3 on: July 02, 2009, 09:45:17 AM »
morning.....

Can nobody help out? I am not a coder, so I don't completely understand how to make a drop down (horizontal) menu.

Sure hope to get some replies.....Kind regards Irene
Logged

instantflorian

  • Guest
Re: menu: child to parent code
« Reply #4 on: July 22, 2009, 08:36:35 PM »
Well, I admit that show_menu2 configuration is not easy... but the explaniation with the examples is quite useful, so just try different parameters (the values in brackets).
show_menu2() without parameters generates nested unsorted lists of your site structure which can also styled by CSS.
For myself, I have not tested it yet, but Webbird wrote a moduke called "Easymenu", maybe this could be helpful for you.
http://www.websitebakers.com/pages/admin/admin-tools/easy-menu.php
Logged

Argos

  • Guest
Re: menu: child to parent code
« Reply #5 on: July 25, 2009, 01:24:10 AM »
Irene, you could look for a template that has dropdown menus, and just copy the menu and CSS, and adapt it for your template.
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • menu: child to parent code
 

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