I dont want to use superfish. Can I comment it out ? Deactivate it ?

Forums Forums Menus I dont want to use superfish. Can I comment it out ? Deactivate it ?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #763
    illion
    Member

    The call for the superfish script is slowing down my pageload. I dont use any of its features. Still the script and the
    superfish_settings.js.php are loaded. They are taking 2 sec pageload of a total of 4 sec pageload.
    Any suggestions ?

    #5924

    You can deactivate all of the features which use the Superfish script via the admin page under ‘settings’.

    I can’t remember all of the settings off the top of my head, but if you keep deactivating everything one by one you will eventually find which ones totally remove the need for Superfish and it will default back to a basic suckerfish script.

    BTW, the script shouldn’t take 2 seconds to load. The script which loads is pretty basic and it should load as quickly as a static file (ie: very fast).

    #5925
    illion
    Member

    I set:
    Speed of fade-in effect: instant
    Mouseover delay: 0
    Hide delay time: 0

    When I check my page with YSlow in Firefox I get the following loadingtimes:
    http://…/multi-level-navigation-plugi … php?ver=r5 [b:3sfqdin9][color=red:3sfqdin9]1,14 s[/color:3sfqdin9][/b:3sfqdin9]
    http:/…/multi-level-navigation-plugin/scripts/superfish_settings.js.php?ver=1.0  [color=red:3sfqdin9][b:3sfqdin9]1,08 s[/b:3sfqdin9][/color:3sfqdin9]

    #5926

    If those files are showing up in your HTML still then you probably still have something activated which needs the superfish script.

    I can probably tell what it is if you post the URL here.

    #5927
    illion
    Member

    I think I found a solution:
    I went to the core.php and commented the register scripts out

    //wp_register_script(‘hoverIntent’, $javascript_location.’hoverIntent.js.php’, array(‘jquery’), ‘r5’);

    //wp_register_script(‘superfish’, $javascript_location.’superfish.js’, array(‘hoverIntent’), ‘1.4.8’);
    //wp_register_script(‘superfish_init’, $javascript_location.’superfish_settings.js.php’, array(‘superfish’), ‘1.0’);
    //wp_register_script(‘sfdelay’, $javascript_location.’sfdelay.js’,”, ‘1.0’);
    //wp_register_script(‘sfkeyboard’, $javascript_location.’suckerfish_keyboard.js’, array(‘hoverIntent’), ‘1.0’);

    <img decoding=” title=”Wink” />

    #5928

    Hi,
    That is fairly pointless as you could just modify the settings in the admin panel. If you want to update the plugin your changes will be wiped if you modify the plugin files.

    #5929
    Anonymous
    Member

    Superfish has been a significant loadtime hog for myself, also. thanks for the workaround!

    http://www.secondhelpingonline.com

    #5930

    Here’s some detailed instructions on what the settings need to be to shut out the Superfish script entirely:
    [code:26aiutwc]The settings you need to change to are:
    Speed of fade-in effect: Instant
    Mouseover delay (milliseconds): 0
    Hide delay time (milliseconds): 0
    Sensitivity: High
    Enable keyboard accessible menu?: untick
    Enable arrow mark-up?: untick
    Remove title attribute? untick[/code:26aiutwc]

    I have no idea what you guys are finding the downloads are so slow though. The script is ridiculously simple and it loads lightning quick on every server I’ve tested it on.

    #5931
    Anonymous
    Member

    Thanks! took care of that problem for me!

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.