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.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


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 »
  • Dropdown Menu not working well
  • Print
Pages: [1]   Go Down

Author Topic: Dropdown Menu not working well  (Read 6967 times)

Offline nene

  • Posts: 59
Dropdown Menu not working well
« on: August 09, 2012, 01:08:38 PM »
Hi,
My dropdown menu on http://www.senaagyepong.com/pages/about-sena.php is not functioning well. The sub-menus are suppose to show when the mouse is rolled over. But it is showing with or without the mouse roll-over.

Can anyone help me?

Thank you

Nene Nanor
Logged

Offline nibz

  • Posts: 684
  • Gender: Male
Re: Dropdown Menu not working well
« Reply #1 on: August 09, 2012, 04:22:17 PM »
Please post your Showmenu code...
Logged

Offline nibz

  • Posts: 684
  • Gender: Male
Re: Dropdown Menu not working well
« Reply #2 on: August 09, 2012, 04:27:22 PM »
I think it has to do with the fact that you don't use the Trim feature

For more info take a look at: https://forum.WebsiteBaker.org/index.php/topic,23012.0.html
Logged

Offline nene

  • Posts: 59
Re: Dropdown Menu not working well
« Reply #3 on: August 09, 2012, 04:48:19 PM »
Thank you nibz. Pls find the code below;

Code: [Select]
<div id="nav">
   
    <?php     
   show_menu2(
                        $aMenu = 0,
        $aStart = SM2_ROOT,
$aMaxLevel = SM2_ALL,
$aOptions = SM2_ALL|SM2_PRETTY,
$aItemOpen = '[list][li] <a href="[url]" target="[target]" class=[if(class==menu-expand){"dir"}else{""}]>[menu_title]</a>',
$aItemClose = '</li>',
$aMenuOpen = '<ul>',
$aMenuClose = '</ul>',
$aTopItemOpen = false,
$aTopMenuOpen = '<ul id="nav" class="dropdown dropdown-vertical">'
); 
?>

    </div>
« Last Edit: August 10, 2012, 05:49:21 PM by Argos »
Logged

Offline nibz

  • Posts: 684
  • Gender: Male
Re: Dropdown Menu not working well
« Reply #4 on: August 09, 2012, 08:59:38 PM »
next time please use the forum code tags (found under the hashtag)

Edited by moderator.
« Last Edit: August 10, 2012, 05:49:41 PM by Argos »
Logged

Offline marmot

  • Posts: 1103
Re: Dropdown Menu not working well
« Reply #5 on: August 09, 2012, 09:28:36 PM »
Hi,

one problem for sure is that dropdown.css is not loaded. Firebug reports:
Quote
NetworkError: 404 Not Found - http://www.senaagyepong.com/templates/sena/css/dropdown/dropdown.css

regards
Logged

Offline nibz

  • Posts: 684
  • Gender: Male
Re: Dropdown Menu not working well
« Reply #6 on: August 09, 2012, 09:49:34 PM »
My bad. The css is the fix. Mine is just limiting the number of levels for the pages. (and that's not really the solution if you want a dropdown).

(removed my code hint)
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Dropdown Menu not working well
 

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