WordPress.org

Ready to get started?Download WordPress

Forums

Meteor Slides
[resolved] Meteor slide + javascript conflict. (10 posts)

  1. popmouth
    Member
    Posted 2 years ago #

    Hi.
    I want to use Meteor slides on my wordpress site, however I am using the maxImage slideshow on the same site. It seems that these two conflicts, since when I activate both they stop working. The maxImage and Meteorslides are never used on the same pages however! Any ideas on a fix for this?
    cheers
    Carl

    http://wordpress.org/extend/plugins/meteor-slides/

  2. Josh Leuze
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Carl, could you post a link so that I can check for errors?

  3. popmouth
    Member
    Posted 2 years ago #

    I'll put down the maintanence mode untill you have cheked it out.
    Here's the link (the site is in swedish, but that shouldn't bother you to much right?):
    http://paragrafiskform.se/

  4. Josh Leuze
    Member
    Plugin Author

    Posted 2 years ago #

    The problem is with this file:

    <script type='text/javascript' src='http://paragrafiskform.se/wp-content/themes/paragrafiskform/js/custom.js?ver=3.3.1'></script>

    It is using the "$" shortcut, instead of "jQuery", this doesn't work because WordPress loads jQuery in no-conflict mode. Swap out the "$" shortcuts and it will work.

    By the way, your theme is loading both minimized and original versions of MaxImage and jQuery Cycle, you might want to remove the originals to cut back on the number of scripts that are running:

    src="http://paragrafiskform.se/wp-content/themes/paragrafiskform/js/jquery.cycle.all.js"></script>
       <script type="text/javascript"
       src="http://paragrafiskform.se/wp-content/themes/paragrafiskform/js/jquery.cycle.all.min.js"></script>
        <script type="text/javascript"
       src="http://paragrafiskform.se/wp-content/themes/paragrafiskform/js/jquery.easing.1.3.js"></script>
       <script type="text/javascript"
       src="http://paragrafiskform.se/wp-content/themes/paragrafiskform/js/jquery.maximage.js"></script>
      <script type="text/javascript"
       src="http://paragrafiskform.se/wp-content/themes/paragrafiskform/js/jquery.maximage.min.js"></script>
  5. popmouth
    Member
    Posted 2 years ago #

    Thanks for your quick and life-saving answer.
    I'm terrible sorry, I'm just a dumb designer trying to deal with code ^__^!
    C.

  6. Josh Leuze
    Member
    Plugin Author

    Posted 2 years ago #

    No problem Carl!

  7. M-artino
    Member
    Posted 1 year ago #

    Hi JLeuze,
    I ve constructed this website which is under constructions ;-). I ve there used your plugin in the middle of the site. It seem to have a javascript problem... could you regard with the eyes of a pro?
    Thanks a lot

  8. Josh Leuze
    Member
    Plugin Author

    Posted 1 year ago #

    @M-artino There aren't any JavaScript errors, but the head of your page is pretty empty, I think you are missing the wp_head() function in your header.php file.

  9. abelq
    Member
    Posted 1 year ago #

    @JLeuze

    Thanks for your advise on swapping the "$" shortcut. Did a quick Google search and found this thread and got my all my jQuery scripts working.

    Cheers!

  10. Josh Leuze
    Member
    Plugin Author

    Posted 1 year ago #

    @abelq You're welcome!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic