Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   Another page menue bar with expanding and collapsing buttons (http://forum.bytesforall.com/showthread.php?t=265)

Tigger Feb 7, 2009 09:37 AM

Another page menue bar with expanding and collapsing buttons
 
Hi Flynn,

I would like to have on the left side of my website a menu, which is only displaying the main pages. When I click on one of these buttons, I should get directed to that very page. In addition, the subpages should get displayed under thais main page in the menue bar. (expanding buttons)

When I click on another main page, the presently showed subpages should collapse and the subpages from now chosen main page should show up.

The same like in the header man page navigation. I think it is called suckerfish.

Right now the whole menue is static and shows all pages and if you also choose subpages, they are also static all displayed. My problem is, that the whole navigation is getting too long with static navigation.

Is it possible to include a plugin and use a totally different navigation style and type ?

Flynn Feb 9, 2009 12:28 PM

Suckerfish won't do what you're describing here, at least not with additional Javascript or PHP. If you're going to use Suckerfish then probably Son of Suckerfish, an enhanced Suckerfish menu http://www.htmldog.com/articles/suckerfish/dropdowns/
Atahualpa is using Ruthsarian Menus http://webhost.bridgew.edu/etribou/layouts/rMenu/ which is more complicated than Son of Suckerfish but also more browser-safe.

Vertical menus with fly-out are already built into Atahualpa but not fully implemented yet, without the required extra CSS and Javascript. The follwing is not exactly what you wanted but it would give you a vertical, multi level fly-out menu. Try this only if you're willing to work on it a bit, I won't be able to fully customize this for you.

In header.php, after

PHP Code:

<?php if ( $left_col == "on" ) { ?>
<!-- Left Sidebar -->
<td id="left">

put this:

PHP Code:

<div id="rmenu3">
<ul class="rMenu-ver rMenu">
<?php wp_list_pages('title_li='); ?>
</ul>
</div>

A. Theme Options -> HTML/CSS Inserts -> CSS Insert:

HTML Code:

div#rmenu3 ul.rMenu-ver ul {
width: 11em;
}
div#rmenu3 ul.rMenu li.rMenu-expand a,
div#rmenu3 ul.rMenu li.rMenu-expand li.rMenu-expand a,
div#rmenu3 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
div#rmenu3 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
div#rmenu3 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a {
background-image: url(/wp-content/themes/atahualpa/images/expand-right.gif);
}
div#rmenu3 ul.rMenu-hor li.rMenu-expand a {
background-image: url(/wp-content/themes/atahualpa/images/expand-down.gif);
}

In header.php, after

PHP Code:

<?php if (strpos($bfa_ata_configure_header,'cats')!==FALSE) { ?>sfHover( 'rmenu' );<?php ?>

this:

PHP Code:

sfHover'rmenu3' ); 


Josh Nov 2, 2009 12:35 PM

I did a search on heard.php and could not find this line:

Code:

<?php if (strpos($bfa_ata_configure_header,'cats')!==FALSE) { ?>sfHover( 'rmenu' );<?php } ?>
mind helping me out here?

juggledad Nov 2, 2009 06:19 PM

things have changed since that post Flynn made back in Feburary

conon Nov 6, 2009 07:17 AM

I got the recent version of Atahualpa and I need a vertical menu in the left sidebar including some kind of sub dropdown.

What do I need to change in the code for the new Atahualpa version?

Best,
Sebastian


All times are GMT -6. The time now is 09:56 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.