ThemeShaper Forums » Thematic


Error in thematic-dropdown.js

(8 posts)
  • Started 10 years ago by posword
  • Latest reply from posword
  • This topic is not resolved
  1. Firebug is reporting the following error when my site loads (Thematic with child theme):

    jQuery("ul.sf-menu").supersubs is not a function
    [Break On This Error] extraWidth: 1 ...sure lines don't sometimes turn over
    thematic/library/scripts/thematic-dropdowns.js line 6

    The thematic-dropdown.js reads:

    3 jQuery("ul.sf-menu").supersubs({
    4 minWidth: 12, // minimum width of sub-menus in em units
    5 maxWidth: 27, // maximum width of sub-menus in em units
    6 extraWidth: 1 // extra width can ensure lines don't sometimes turn over
    7 // due to slight rounding differences and font-family
    8 }).superfish({
    9 delay: 400, // delay on mouseout
    10 animation: {opacity:'show',height:'show'}, // fade-in and slide-down animation
    11 speed: 'fast', // faster animation speed
    12 autoArrows: false, // disable generation of arrow mark-up
    13 dropShadows: false // disable drop shadows
    14 });

    This could be the reason why my dropdown on Articles in the horizontal menu is not working nor displaying correctly. I've been struggling with this for weeks. Any ideas?


    Posted 10 years ago #
  2. beanfair

    My drop downs were working until today. I see the same error in firebug nut I haven't touched the js file. On my home page, I see part of the menu but on interior page, no dropdowns work at all

    Posted 10 years ago #
  3. beanfair, how did you manage to fix the dropdowns?


    Posted 10 years ago #
  4. Anyone know how to fix this error in Thematic?

    Posted 10 years ago #
  5. hi peter,

    make sure you have the latest stable version of thematic.

    it could be a bug in that has since been fixed w/ the newer releases.

    i have never come across this error before so don't know quite what to say.

    if the update doesn't fix it, do you get this error if you activate Thematic (in lieu of your child theme)? If so, it is possibly a function you have in your child's functions.php.

    Posted 10 years ago #
  6. Hi, Helga, thanks for the help.

    I first tried activating the Thematic theme and I didn't get the error when loading the Home Page, so perhaps the child's functions.php is a problem.

    I renamed Thematic and then uploaded Thematic_rev756 but all it gave me was the white screen of death! Perhaps I did something wrong. The file in question, thematic_dropdown.js, has the same modified date as in the version.

    I do have two menu items that need dropdowns, but the error doesn't affect the loading of any site pages.


    Posted 10 years ago #
  7. Helga, I should have added that the error is associated with jQuery ("ul.sf-menu").supersubs is not a function. There are a lot of "sf-menu" declarations in my child style.css but no mention of supersubs.

    Posted 10 years ago #
  8. To update the post:

    The error is caused by a conflict between the GTranslate WP plugin and WP 3.1 menus. GTranslate is loading jQuery when it is already loaded by WP.

    Thanks to helgatheviking for nailing this one.

    Posted 10 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.