Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'd love for there to be some sort of "pause" feature in the slideshow, either coded so that when you interact with a slide it doesn't move forward, or even better, as a "pause" button.
Thank you so much for your help with this wonderful theme!
Comments
Comment #1
gtsopour CreditAttribution: gtsopour commentedComment #2
gtsopour CreditAttribution: gtsopour commentedHello jtsheldon,
This is a very good feature and I would like to thank you for this suggestion. I personally will try to commit this feature to Corporate Clean core in order to be included in next Corporate Clean theme release.
Corporate Clean slideshow is based on jQuery Cycle Plugin http://jquery.malsup.com/cycle/. There is a demo for your request here http://jquery.malsup.com/cycle/pause.html
In order to implement this feature to CorporateClean theme you should make the following changes
1. Edit javascript in template.php file
from
to
2. Add to the page.tpl.php file under the slideshow, the two action links (Pause /Resume)
I suggest you to place these links under the slider-controls-wrapper
Thanks
/George
Comment #3
gtsopour CreditAttribution: gtsopour commentedHello jtsheldon and thanks for this feature request.
I changed this issue to support request and the status of this issue to "fixed" in order to help others. So, if this feature will be required by many users, i will implement it to the Corporate Clean theme with the appropriate design and not only with 2 text links as the example.
Thanks
George
Comment #5
MacaroniDuck CreditAttribution: MacaroniDuck commentedCount me as someone who would like to see this implemented with appropriate buttons rather than text. In addition, I feel those buttons should indicate the current state (i.e. paused vs. running) so the user can readily see whether the slideshow is paused or not.
I'd really like to have this functionality on a site I've almost completed. I've gotten what you posted above working. I could craft the buttons myself, but wouldn't know how to write the script to change the button based on the paused/running state of the slideshow. I'd love to see this as an option in the theme settings.
Comment #6
Heinz CreditAttribution: Heinz commentedCount me in. I'd like to have a pause button , too.
Comment #7
sarexpert CreditAttribution: sarexpert commentedI would love to have a button on the slide that says "pause", when you press it it changes to "resume".
It would also be good to have an optional "next" button instead of the "dots"
RE CorporateClean 7.x-2.0
It appears that changing the "effect duration" setting appears to have no effect.
I also see that you need to modify the code to change the number of dots if you have more or fewer slides.
I have found the hover to stop function is very confusing until you discover it!
What makes it harder is that you have to be over the content for the hover pause to work. Just hovering over the region does not do it.
Comment #8
JamiRae CreditAttribution: JamiRae commentedsaraexpert - I added an issue for the 'effect duration' not working. you can see that here http://drupal.org/node/1905000 -- I included instructions in how to change it in the code which appears the only way to adjust the speed as far as I can tell.