Title: Pause button??
Last modified: August 30, 2016

---

# Pause button??

 *  [beabusio](https://wordpress.org/support/users/beabusio/)
 * (@beabusio)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/pause-button-3/)
 * HI! Very good slider!
    But why is there no pause button? How can I add it? 5 
   stars slider, you’re doing wonderful job there!
 * [https://wordpress.org/plugins/crelly-slider/](https://wordpress.org/plugins/crelly-slider/)

Viewing 5 replies - 16 through 20 (of 20 total)

[←](https://wordpress.org/support/topic/pause-button-3/?output_format=md) [1](https://wordpress.org/support/topic/pause-button-3/?output_format=md)
2

 *  Plugin Author [Fabio Rinaldi](https://wordpress.org/support/users/fabiorino/)
 * (@fabiorino)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/pause-button-3/page/2/#post-6883337)
 * **Right button click:**
 *     ```
       $('#theright').click(function() {
       	if(playing) {
       		$('.crellyslider-slider-myslider').data('crellySlider').nextSlide();
       		playing = true;
       	}
       	else {
       		$('.crellyslider-slider-myslider').data('crellySlider').nextSlide();
       		setTimeout(function() {
       			$('.crellyslider-slider-myslider').data('crellySlider').resume();
       			$('.crellyslider-slider-myslider').data('crellySlider').pause();
       			playing = false;
       		}, 400);
       	}
       });
       ```
   
 * **Controls click:**
 *     ```
       $('#thecontrols .circle').click(function() {
       	var index = $(this).index();
   
       	if(playing) {
       		$('.crellyslider-slider-myslider').data('crellySlider').changeSlide(index);
       		playing = true;
       	}
       	else {
       		$('.crellyslider-slider-myslider').data('crellySlider').changeSlide(index);
       		setTimeout(function() {
       			$('.crellyslider-slider-myslider').data('crellySlider').resume();
       			$('.crellyslider-slider-myslider').data('crellySlider').pause();
       			playing = false;
       		}, 400);
       	}
       });
       ```
   
 *  [invresive](https://wordpress.org/support/users/invresive/)
 * (@invresive)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/pause-button-3/page/2/#post-6883338)
 * The right and left is not what I meant, but it doesn’t really important as long
   as I can use the previousSlide and nextSlide functions.
 * The Controls(it is important) didn’t work. I tried it as that:
 *     ```
       $('.cs-slide-link').click(function() {
       var index = $(this).index();
       if(playing) {
       $('.crellyslider-slider-myslider').data('crellySlider').changeSlide(index);
       playing = true;
       }
       else {
       $('.crellyslider-slider-myslider').data('crellySlider').changeSlide(index);
       setTimeout(function() {
       $('.crellyslider-slider-myslider').data('crellySlider').resume();
       $('.crellyslider-slider-myslider').data('crellySlider').pause();
       playing = false;
       }, 400);
       }
       });
       ```
   
 * I also tried to change the `.cs-slide-link` for `.cs-navigation > .cs-slide-link`
   and for `.cs-navigation` and even for `.cs-slide-link .cs-active` – not working.
 *  Plugin Author [Fabio Rinaldi](https://wordpress.org/support/users/fabiorino/)
 * (@fabiorino)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/pause-button-3/page/2/#post-6883339)
 * What are you trying to target? I mean, did you create some custom buttons outside
   of the slider?
 *  [invresive](https://wordpress.org/support/users/invresive/)
 * (@invresive)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/pause-button-3/page/2/#post-6883340)
 * No. If you go for your site’s main page([http://fabiorino1.altervista.org/projects/crellyslider/](http://fabiorino1.altervista.org/projects/crellyslider/))
   you’ll see there’s buttons on the bottom of the slider it self, like radio-buttons,
   but they’re made with `<span>` tag. The div(parent element) of them is `cs-navigation`.
 *  Plugin Author [Fabio Rinaldi](https://wordpress.org/support/users/fabiorino/)
 * (@fabiorino)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/pause-button-3/page/2/#post-6883341)
 * Uhm ok, unfortunately you can’t do what you are asking with the default buttons
   because they are already programmed to work in a certain way. You should modify
   the slider source code in order to achieve what you’re asking, but I can’t give
   you support for that, it’s far beyond the help I can give you

Viewing 5 replies - 16 through 20 (of 20 total)

[←](https://wordpress.org/support/topic/pause-button-3/?output_format=md) [1](https://wordpress.org/support/topic/pause-button-3/?output_format=md)
2

The topic ‘Pause button??’ is closed to new replies.

 * ![](https://ps.w.org/crelly-slider/assets/icon-128x128.jpg?rev=1305586)
 * [Crelly Slider](https://wordpress.org/plugins/crelly-slider/)
 * [Support Threads](https://wordpress.org/support/plugin/crelly-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/crelly-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/crelly-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/crelly-slider/reviews/)

 * 20 replies
 * 4 participants
 * Last reply from: [Fabio Rinaldi](https://wordpress.org/support/users/fabiorino/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/pause-button-3/page/2/#post-6883341)
 * Status: not a support question