• Resolved johnford75

    (@johnford75)


    Hi there,

    Have I seen some people have had problems with Meteor Slides (an excellent & simple plugin btw, thanks!) conflicting with various other jQuery scripts, but I haven’t find anything helpful in my case.

    I have a script directly set into my sidebar.php to control the drop down/rollover function of my side menu.

    When I activate Meteor Slides, my menu is always fully displayed, instead of hiding each sections when the mouse rolls over.

    Since I used custom tags for the function, I don’t really get where the issue comes from.

    Can anyone help?

    My script is as follow :

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

    The url of my test site is : http://the-argument.fr/vulcan/
    Meteor Slides is only used on the home page.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter johnford75

    (@johnford75)

    Pastebin link for my code since it was too long : http://pastebin.com/9bzi0kFe

    Plugin Author Josh Leuze

    (@jleuze)

    Hi John, it looks like you came up with something that works, let me know if you still need any assistance.

    Thread Starter johnford75

    (@johnford75)

    Hi Josh,

    Thanks for checking on my problem.
    I ended up using another similar slideshow plugin, never have been able to figure what was going wrong with my theme/other plugins and yours that was creating the conflict.
    Tried tweaking the version of jquery that was loading and all… it will just have to be one of those mysteries of webdesign 😉

    Plugin Author Josh Leuze

    (@jleuze)

    Web design is just full of those mysteries isn’t it! Nice gravatar, a pity HBO didn’t make another 5 or 10 episodes for the first season…

    Thread Starter johnford75

    (@johnford75)

    Thanks 😉 We still have the books the show is based on, which I’m devouring the second volume of when I’m not working! You should check them out if you enjoyed the show.

    Plugin Author Josh Leuze

    (@jleuze)

    I read the books first when I heard the show was in production so that I could read them “fresh”. Tempted to read them again since they didn’t have room for so much, but I think I’ll wait for A Dance with Dragons to come out next month.

    Strange, same here.

    http://pastebin.com/4TiW2MLi

    This little script allows to zoom text. Works without problems. (thanks noConflict) But if i activate Meteor it don’t works anymore.

    Problem solved. Meteor and many other plugins loading jQuery by them self. If you loaded jQuery-Libary in your Theme Header by your own, two jQuery-Libarys will conflict together and (i think: the older) one turned automatically off.

    Meteor Slider loading his own Libary and turn your own off. The result is, that you try to load and run your jQuery-Script before the jQuery-Libary was parsed. Because…?

    Because the idotic rule that <?php wp_head(); ?> hook has to be the last element before </head>.

    So the best solution is to delete your own jQuery Libary load, and use that from Meteor. So you’ve to load your Scripts after the wp_head() hook. (before </head> end)

    For the Meteor-Developer: Add an option to turn the jQuery Libary load off or add a faq hint.

    Hope that will help.

    PS: Great Plugin!

    Plugin Author Josh Leuze

    (@jleuze)

    Thanks iNovek, Meteor Slides enqueues the copy of jQuery in WordPress. If a theme or other plugin also enqueues this same copy, WordPress should handle those duplicates and only load jQuery once.

    Conflicts usually come up when a theme or plugin is manually including their own copy of jQuery or loading it from a third party server, unfortunately it isn’t uncommon for a site to be loading 3 or 4 copies of jQuery!

    If you want full control over your scripts you can always de-enqueue them or deactivate the function in Meteor Slides that is loading the JavaScript.

    Hey JLeuze

    I am having a problem for MSlides aswell on my site

    For some reason, first the slides wasnt showing up (the slider area I mean)

    Now the slider area shows up but no slide or image shows or loads up at all

    I also feel its a Jquery conflict issue but being a non-programmer I am unable to troubleshoot it myself.

    Can you please look it and help me ?

    My site is http://blog.indiaanimeclub.com/

    I am loading the plugin using the php code/markup in my index.php file

    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Meteor-Slides] Conflict with custom jquery drop down menu’ is closed to new replies.