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 |
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()' |
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 |
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 02:29 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.