Accordion Image Menu
Stop Loading jQuery Incorrectly (9 posts)

  1. barryarm
    Posted 4 years ago #

    Your plugin is breaking all other jquery based plugins

    Load jquery correctly and do not hard code it.

    This needs to be fixed asap as its causing a lot of problems

  2. alaingg
    Plugin Author

    Posted 4 years ago #

    Which plugin, please be more specific.
    The most recent releases includes jQuery using the wp_enqueue_script.
    What plugin cause this conflict on your website?

  3. heikkiheer
    Posted 4 years ago #

    Hi Alain
    Same problem here. The images are loaded but they are displayed side by side without the accordion function. The option "Include jQuery - Uncheck if other ..." does not seem to have any effect. It seems that there are two query-ui-... loaded. One is your: jquery-ui-1.8.10.custom.min.js. The other seems to be with version 1.7 and no custom. I am not a coder but.

    [Code moderated as per the Forum Rules. Please use the pastebin]

  4. heikkiheer
    Posted 4 years ago #

    Someone else wrote here something interesting about two jquery libraries

  5. heikkiheer
    Posted 4 years ago #

    GET http://web192.login-105.hoststar.ch/publicsite/wp-includes/js/ver=20101110
    404 Not Found
    from my post above seems not to find that file here:

    But be careful with my posts - I really am not a coder at all.

  6. heikkiheer
    Posted 4 years ago #

    And Chrome Browser tells me:
    resource interpreted as script but transferred with mime type text/x-js

    I'll ask my provider if this is a server side setting that has to be changed to content-type:application/x-javascript

    I'll then post the answer/result here.

  7. heikkiheer
    Posted 4 years ago #

    The problem lies not on the server side. Its the theme. I use Thesis theme 1.8.2. I then changed to Custom Community 1.8.3. and guess what: accordion image menu worked fine! At least I know where to look now.

  8. heikkiheer
    Posted 4 years ago #

    The problem seems to be that the accordion code is working with $ instead the term jQuery.

  9. heikkiheer
    Posted 4 years ago #

    HAHAAAAA! Muahhahah! GOT IT!

    Here is the reason for the problem when using accordion image menu with thesis theme:
    wordpress jquery and some other jquery library are conflicting because the accordionImageMenu-0.4.js seems to be referring to the wrong jquery library.

    How to fix it:
    1. Open accordionimagemenu-0.4.js
    2. replace (function( $ ){ with $(document).ready(function(){ in the beginning of the script.
    3. replace the last line })( jQuery ); with });

    I've tested my customization not to every extend. And as a mentioned before: I am no coder so I do not really know what I am doing here. I just try to do it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Accordion Image Menu
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic