Title: Prevent Event Handler
Last modified: August 21, 2016

---

# Prevent Event Handler

 *  Resolved [geologist](https://wordpress.org/support/users/geologist/)
 * (@geologist)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/prevent-event-handler/)
 * I have three slideshows side by side. They scroll horizontally so it looks as
   though one image slides into the next location to the left of it. Please see 
   what I am referring to
 * [Ten Mile Run Test Website](http://10milerun.com/test/)
 * The concept works great . . . until I touch one of the slideshows with my mouse
   or scroll the page etc. Is there some way in the JS file to disable event handler
   or something like that to get the slideshows to ignore any touches or scrolling
   on the page?
 * I realize this will probably disable touch for handheld devices, but that is 
   not a concern.
 * [http://wordpress.org/extend/plugins/meteor-slides/](http://wordpress.org/extend/plugins/meteor-slides/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Josh Leuze](https://wordpress.org/support/users/jleuze/)
 * (@jleuze)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/prevent-event-handler/#post-3900278)
 * You can disable the touch navigation by using a [custom slideshow script](http://jleuze.com/plugins/meteor-slides/customizing-the-slideshow-script/)
   and removing this bit if code:
 *     ```
       // Setup jQuery TouchWipe
       $j('.meteor-slides').touchwipe({
           wipeLeft: function() {
               $j('.meteor-slides').cycle('next');
           },
           wipeRight: function() {
               $j('.meteor-slides').cycle('prev');
           },
       	preventDefaultEvents: false
       });
       ```
   
 * The other thing you will want to do is disable the pause on hover so that doesn’t
   throw off your animation, you can do this [using metadata](http://jleuze.com/plugins/meteor-slides/using-metadata/),
   here’s an example:
 *     ```
       [meteor_slideshow metadata="pause: 0"]
       ```
   
 *  Thread Starter [geologist](https://wordpress.org/support/users/geologist/)
 * (@geologist)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/prevent-event-handler/#post-3900282)
 * Thanks Josh, that did it. Your website is packed with lots of great info.
 *  Plugin Author [Josh Leuze](https://wordpress.org/support/users/jleuze/)
 * (@jleuze)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/prevent-event-handler/#post-3900307)
 * You’re welcome!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Prevent Event Handler’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/meteor-slides_0f131a.svg)
 * [Meteor Slides](https://wordpress.org/plugins/meteor-slides/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/meteor-slides/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/meteor-slides/)
 * [Active Topics](https://wordpress.org/support/plugin/meteor-slides/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/meteor-slides/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/meteor-slides/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Josh Leuze](https://wordpress.org/support/users/jleuze/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/prevent-event-handler/#post-3900307)
 * Status: resolved