Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

Another page menue bar with expanding and collapsing buttons


  #1  
Old Feb 7, 2009, 10:37 AM
Tigger
 
35 posts · Feb 2009
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 ?
  #2  
Old Feb 9, 2009, 01:28 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
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' ); 
  #3  
Old Nov 2, 2009, 01:35 PM
Josh
 
1 posts · Nov 2009
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?
  #4  
Old Nov 2, 2009, 07:19 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
things have changed since that post Flynn made back in Feburary
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Nov 6, 2009, 08:17 AM
conon
 
21 posts · Mar 2009
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

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating buttons for the page menu Nourdmrolnmt1 Page & Category Menu Bars 5 Feb 2, 2012 02:03 PM
Page menu bar buttons the same flexible width like fluid layout Tigger Page & Category Menu Bars 6 May 14, 2011 01:58 PM
Collapsing side menu Interskill Page & Category Menu Bars 3 Aug 7, 2009 07:47 AM
How to add 2 link rollover buttons in horizontal header bar stevemitch2 Header configuration & styling 2 Jun 4, 2009 10:47 AM
[SOLVED] Expanding center and shrinking sidebars rachkitty Atahualpa 3 Wordpress theme 2 Mar 29, 2009 01:29 PM


All times are GMT -6. The time now is 11:45 AM.


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