Title: Aslyder pause button
Last modified: August 21, 2016

---

# Aslyder pause button

 *  Resolved [samjslater](https://wordpress.org/support/users/samjslater/)
 * (@samjslater)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/aslyder-pause-button/)
 * How do I create a pause button for the Aslyder plugin?
 * I seem to be able to pause it and control manually, OR have it run in auto, but
   if I want to control the “autooff”function, how does one go about it?
 * Great plugin though.
 * peACE x
 * [http://wordpress.org/plugins/jam/](http://wordpress.org/plugins/jam/)

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

 *  Plugin Author [Avant 5](https://wordpress.org/support/users/avant-5/)
 * (@avant-5)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/aslyder-pause-button/#post-4393654)
 * Good morning!
 * Very good question, and the quick answer is – there is no pauce button feature.
   But I can see a global use for that. I am a very bad programmer before my first
   coffee, so I need to get some fuel in, and then I’ll get on it and release an
   up early today.
 * Thanks for the compliment and the request. Luckily you picked the one script 
   in the plugin that’s actually written by me to need a feature added!
 *  Thread Starter [samjslater](https://wordpress.org/support/users/samjslater/)
 * (@samjslater)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/aslyder-pause-button/#post-4393663)
 * YOU ARE A STUNNER.
 * Thanks so much. It literally has EVERYTHING else I wanted from a plugin, no branding
   nout… just a big list of images doing the things I want them to do.
 * A pause button would be smashing. I owe you a coffee. x
 *  Plugin Author [Avant 5](https://wordpress.org/support/users/avant-5/)
 * (@avant-5)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/aslyder-pause-button/#post-4393678)
 * Ok! Sorry that took so long. My new computer didn’t want to communicate with 
   the WP repository, so I couldn’t get the new version uploaded.
 * Quick tutorial on how to make this work.
 * To create a pause/(re)start button, add a link anywhere on the page. As always,
   the element does not need to be inside the #aslyder container, and will work 
   anywhere on the web page.
 *     ```
       <a href="#" class="aslyder-pause">Pause</a>
       ```
   
 * That’s all you have to do for the default. If the ‘Pause’ link is clicked, the
   slideshow is halted, and the text is replaced with “Start”, waiting for a restarting
   click.
 * For styling purposes, the script uses two classes. **a-pause** and **a-start**.
   Use these for image replacement or other styling. If using **a-pause** remember
   to also add this class in your default markup.
 *     ```
       <a href="#" class="aslyder-pause a-pause">Pause</a>
       ```
   
 * The script accepts two HTML5 data tags for changing the default text, if desired.
   These are totally optional, and for most will be unneccessary since image replacement
   will use used to display start/pause buttons to the user instead of text.
 * **data-pausetext**
    **data-starttext**
 * Whatever you set these data types to, will be used rather than “Start” and “Pause”
   as is the default for the script.
 *     ```
       <a href="#" class="aslyder-pause" data-starttext="Go!" data-pausetext="Please wait!">Please wait!</a>
       ```
   
 * Remember to set the default pause text in the HTML markup to match the pausetext
   data, or it will look a little weird to the user – if using text. They can be
   different if desired, however, and will not impact the script function.
 * And that’s it! Hope you find this update satisfactory for your needs! Thanks 
   for using JAM, and my aSlyder script!
 *  Thread Starter [samjslater](https://wordpress.org/support/users/samjslater/)
 * (@samjslater)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/aslyder-pause-button/#post-4393711)
 * YOU. ARE. A. BABE. I king amongst men / a queen amongst femen.
 * This is bang awnnnnn. I’ll hit you up with a link of it in action in a few hours
   time, when that first first coffee of the day has run through my system. In the
   meantime: [http://www.youtube.com/watch?v=FW_fx8HRH9A](http://www.youtube.com/watch?v=FW_fx8HRH9A)
   Smooth hiphawp.
 *  Thread Starter [samjslater](https://wordpress.org/support/users/samjslater/)
 * (@samjslater)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/aslyder-pause-button/#post-4393822)
 * One more question.
 * How would one add a “counting” feature… i.e. saying: this is picture 4/25. I 
   can easily count the
    `<li>` items with jQuery, but specifying the selected one
   seems a tad more tough.
 * Any thoughts?
 * Merry xmas. x
 *  Thread Starter [samjslater](https://wordpress.org/support/users/samjslater/)
 * (@samjslater)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/aslyder-pause-button/#post-4393823)
 * WOAH. Broke WordPress….
 * That is meant to say: “li” as in “list” items.
 * X
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/aslyder-pause-button/#post-4393824)
 * Fixed it – but you need to use the backticks or code buttons when posting code–
   using `<li>` tags without the `<ul>` tag does break the forums :).
 *  Thread Starter [samjslater](https://wordpress.org/support/users/samjslater/)
 * (@samjslater)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/aslyder-pause-button/#post-4393825)
 * Happy holidays amigo. x

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

The topic ‘Aslyder pause button’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jam.svg)
 * [Jam Plugin for Wordpress](https://wordpress.org/plugins/jam/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jam/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jam/)
 * [Active Topics](https://wordpress.org/support/plugin/jam/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jam/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jam/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [samjslater](https://wordpress.org/support/users/samjslater/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/aslyder-pause-button/#post-4393825)
 * Status: resolved