Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Need to tweak bfa_header_config to add some javascipt. (http://forum.bytesforall.com/showthread.php?t=18902)

pegasus Nov 14, 2012 05:59 AM

Need to tweak bfa_header_config to add some javascipt.
 
Hi Juggledad,

Found the new thread button!

I am new to this site and forum and have difficulty even finding the new thread.

Tried looking through to find a solution for my problem but to no avail. Could you please advise if I am looking at the wrong place.

This piece of code <?php echo bfa_header_config(); ?> is called from header.php. What I am not sure is if it is bfa_header_config.php or bfa_new_wp3_menus that churned out this piece of code
' <div id="menu1" class="menu-top-menu-container"> ' in Atahualpa 3.7.7.

I need to add javascript to change it from <div id="menu1" class="menu-top-menu-container"> to output as this <div id="menu1" class="menu-top-menu-container" onMouseOver="hideIFrame(true);" onMouseOut="hideIFrame(false);">. The javascript has been added to header.php and works fine when it is saved and tested as a stand alone page.

Been looking for a week but still could not find an answer. Could you please help?

Regards
Pegasus

juggledad Nov 14, 2012 10:02 AM

If you are using an atahualpa menu, you can change it in bfa_config_header.php.
If you are uisng the new WordPress menu then the menu is built using the wordpress function 'has_nav_menu()'

pegasus Nov 20, 2012 03:10 AM

Hi Juggledad,

I did look into what you pointed to me but still could not find which piece of code that forms <div id="menu1" class="menu-top-menu-container"> and I am using Atahulpha 3.4.2.

Regards
Pegasus

juggledad Nov 20, 2012 05:19 AM

That is an old release. I would suggest you upgrade to 3.7.9 the latest release.


All times are GMT -6. The time now is 06:25 PM.

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