Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Is ruthsarian_utilities.js needed if I don't use drop-down menus?


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Apr 2, 2009, 07:32 AM
Glottis
 
23 posts · Dec 2008
Is the file ruthsarian_utilities.js needed for something else besides drop-down menus?

I tried googling and searching the forum here but couldn't find any info...

Thank you in advance!
  #2  
Old Apr 2, 2009, 07:55 PM
Flynn's Avatar
Flynn
 
3,754 posts · Oct 2008
Munich, Germany
Besides the drop down menu(s) it's also being used for the default recent-comments widget and the BFA recent comments widget, to provide li:hover for IE6. If you don't use those either, then you should remove this from header.php as well along with the js file:

PHP Code:
<script type="text/javascript">
    <!--
    if ( ( typeof( sfHover ) ).toLowerCase() != 'undefined' ) { event_attach( 'onload' , function () { 
    <?php if (strpos($bfa_ata['configure_header'],'pages')!==FALSE) { ?>sfHover( 'rmenu2' );<?php ?>
    <?php if (strpos($bfa_ata['configure_header'],'cats')!==FALSE) { ?>sfHover( 'rmenu' );<?php ?>    
    if (document.getElementById("recent-comments") != null) { sfHover( 'recent-comments' ); }
    if (document.getElementById("bfa-recent-comments") != null) {sfHover( 'bfa-recent-comments' ); }
        } ); }
    //-->
</script>
  #3  
Old Apr 3, 2009, 11:57 AM
Glottis
 
23 posts · Dec 2008
Thank you Flynn!
I'm trying to minimize page load time, so that will definitely help.

Bookmarks

Tags
atahualpa, ruthsarian utilities, ruthsarian_utilities.js

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Help needed with Feeds in Sidebar Shepherd Jim RSS, Feeds & Subscribing 19 May 18, 2011 10:22 PM
Help needed with Now Reading plug in saipanyam Sidebars & Widgets 9 Sep 10, 2009 02:35 PM
[SOLVED] Drop Down Menus Not There on one site ftf79 Page & Category Menu Bars 2 Jun 25, 2009 07:52 PM
Libraries : jquery-1.2.6 is needed ? nello Atahualpa 3 Wordpress theme 1 Jun 18, 2009 04:11 PM
Inserting Header-with java drop down menus- ajmoss Header configuration & styling 0 Mar 20, 2009 07:26 AM


All times are GMT -6. The time now is 01:36 PM.


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