• Resolved pmsadmin

    (@pmsadmin)


    I’ve the effect that no main menu drop down item appears if there is an image map on the page (Suffusion theme).

    Same issue had been with the “Accordion Image Menu” plugin.
    But that has an option “Include jQuery – Uncheck if other actived plugin is already including the library”.
    And unchecking that option resolved the issue.
    So I think it’s related to jQuery somehow.

    Martin

    http://wordpress.org/extend/plugins/imagemapper/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Spike

    (@spikefinned)

    Hi,

    You’re right, it’s related to jQuery.

    [Not really relevant technical stuff] Basically the problem is that jQuery is included twice. A WordPress installation includes a copy of jQuery and jQuery UI and ImageMapper is using them. Unfortunately Accordion Image Menu isn’t using the copy included with WordPress but its own copy of the two libraries, which causes conflict with the jQuery included in WordPress.

    It’s possible to make an option not to include jQuery in ImageMapper. However with the recent versions of WordPress it’s not absolutely necessary, because WordPress is able to check if its own copy of jQuery is already included and if it is WP won’t include it twice. Another problem is that the Accordion Image Menu is using an old version of jQuery and customized version of jQuery UI and I can’t really import the current version of the dialog widget in it.

    However the reason why the menu wasn’t working was that ImageMapper crashed if the jQuery UI Dialog wasn’t available. The newest version won’t crash anymore, but unfortunately without access to jQuery UI Dialog the popup window feature can’t be used. Links and tooltips will work fine though.

    Thanks for pointing this out anyways.

    Thread Starter pmsadmin

    (@pmsadmin)

    Yes, there were no issues after deactivating Accordion Image Menu.
    And I think, I should preserve that state anyway.

    Thanks for investigating that
    Martin

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Breaks drop-down-menus (jQuery)’ is closed to new replies.