Coder Social home page Coder Social logo

Incompatible with mootools about swipeshow HOT 6 CLOSED

rstacruz avatar rstacruz commented on September 26, 2024
Incompatible with mootools

from swipeshow.

Comments (6)

rstacruz avatar rstacruz commented on September 26, 2024

I haven't tested it with mootools, but there's no reason for it not to work, hypothetically.

from swipeshow.

rstacruz avatar rstacruz commented on September 26, 2024

Oh man, found it... here we go. That was very silly of me.

from swipeshow.

dpardons avatar dpardons commented on September 26, 2024

Hi
Sorry, I was away of my PC.
Thanks to take care of the problem. I will try to test it tomorrow in live situation in a joomla module with mootools enabled and some other jQuery plugins (like wookmark).
Daniel

from swipeshow.

rstacruz avatar rstacruz commented on September 26, 2024

Uhm, hold on, that was pretty silly (did that pretty late last night, heh)β€”it seems that change wasn't necessary at all and Swipeshow have always happily worked with Mootools. I've reverted the commit.

You should post a test case.

from swipeshow.

rstacruz avatar rstacruz commented on September 26, 2024

Just note that you will need to change your invocation. For instance, I've had to change this:

  <script>
      $(".slideshow").swipeshow({ mouse: true, interval: 6000 });
  </script>

to this:

  <script>
    (function($) {
      $(".slideshow").swipeshow({ mouse: true, interval: 6000 });
    })(jQuery);
  </script>

from swipeshow.

dpardons avatar dpardons commented on September 26, 2024

Hi

Thanks for the info.
I will try this morning and if still problem, I will try to create a test case.

Regards
Daniel

From: Rico Sta. Cruz
Sent: Tuesday, March 19, 2013 4:05 AM
To: rstacruz/swipeshow
Cc: dpardons
Subject: Re: [swipeshow] Incompatible with mootools (#3)

Just note that you will need to change your invocation. For instance, I've had to change this:

<script> $(".slideshow").swipeshow({ mouse: true, interval: 6000 }); </script>

to this:

<script> (function($) { $(".version").text($.swipeshow.version); $(".slideshow").swipeshow({ mouse: true, interval: 6000 }); })(jQuery); </script>

β€”
Reply to this email directly or view it on GitHub.

from swipeshow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.