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 »
  • Footer site map as a table menu
  • Print
Pages: [1]   Go Down

Author Topic: Footer site map as a table menu  (Read 7019 times)

Offline netash

  • Posts: 14
Footer site map as a table menu
« on: February 17, 2012, 11:19:01 AM »
Hallo friends,

I am trying to show in the footer the site map in coulombs as found in many websites.
Something like that:

products    articals   about us
product1    artical1   location
product2    artical2   workers

the childs of each item under it and all showing.

Do you have a solution?

Thanks,
Logged

Offline crnogorac081

  • Posts: 2163
  • Gender: Male
Re: Footer site map as a table menu
« Reply #1 on: February 17, 2012, 04:57:59 PM »
Take a look at show_menu2 examples..
Logged
Web developer

stepenlock

  • Guest
Re: Footer site map as a table menu
« Reply #2 on: February 23, 2012, 08:07:10 AM »
Use dropdown menu , get your fountionality through simple CSS, HTML menu format or in JavaScrip.


« Last Edit: April 07, 2012, 02:14:16 PM by stepenlock »
Logged

Offline netash

  • Posts: 14
Re: Footer site map as a table menu
« Reply #3 on: March 02, 2012, 10:21:02 AM »
Thanks,
My problem now is how to show all the children all the time (not only when mouse over their father.

I assume it is in thi part of CSS:
 
Code: [Select]
/* Show and hide */
#nav1 .menu li:hover ul, #nav1 .menu li a:focus ul, #nav1 .menu li.subMenu ul {display: block;}
#nav1 .menu li ul ul { display: none;}
#nav1 .menu li:hover ul ul, #nav1 .menu li.subMenu ul ul {display: none;}
#nav1 .menu li:hover>ul, #nav1 .menu li li:hover>ul, #nav1 .menu li.subMenu>ul, #nav1 .menu li li.subMenu>ul {display: block;  z-index: 1000;}

What should I do?
Logged

Offline nibz

  • Posts: 684
  • Gender: Male
Re: Footer site map as a table menu
« Reply #4 on: March 02, 2012, 03:07:42 PM »
Nope. It has something to do whit your show menu code.

Can you paste your show menu code here?
« Last Edit: March 20, 2012, 04:00:42 PM by nibz »
Logged

Offline netash

  • Posts: 14
Re: Footer site map as a table menu
« Reply #5 on: March 18, 2012, 09:51:49 AM »
Thanks, it is:

Code: [Select]
<?php show_menu2(1, 2, SM2_ALL, SM2_ALL, '<li><a href="[url]" class="[class] navlev[level]">[menu_title]</a>', "</li>", '<ul class="ullev[level]">', "</ul>", true, '<ul id="header_menu1" class="menu"><li class="home"><a href="'.WB_URL.'"> </a></li>');
Logged

Offline nibz

  • Posts: 684
  • Gender: Male
Re: Footer site map as a table menu
« Reply #6 on: March 20, 2012, 03:59:48 PM »
Okay,

You are now listing the siblings of the page with number two,

You'll just need to change the third selector from SM2_ALL (which 'says' that it will list all levels) to SM2_START+1,

And maybe it would be nice to adjust the options tag (number 4) to ALL,

So the code will be:
Code: [Select]
show_menu2(1, 2, SM2_START+1, SM2_ALL '<li><a href="[url]" class="[class] navlev[level]">[menu_title]</a>', "</li>", '<ul class="ullev[level]">', "</ul>", true, '<ul id="header_menu1" class="menu"><li class="home"><a href="'.WB_URL.'"> </a></li>')

Maybe it's handy to take a look at: (just like crnogorac081 said)
http://code.jellycan.com/sm2test/


Hope this works for you!
Logged

Offline netash

  • Posts: 14
Re: Footer site map as a table menu
« Reply #7 on: April 09, 2012, 12:59:31 PM »
Found the solution,
I replaced in one place of the css a "display: none" to "display: block".

As simple as that
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Footer site map as a table menu
 

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