Active
Project:
Ajax Slideshow
Version:
6.x-2.0
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Aug 2010 at 20:47 UTC
Updated:
14 Jun 2011 at 11:13 UTC
Jump to comment: Most recent file
Comments
Comment #1
udig commentedIndeed relevant feature. Will be added to the features backlog.
(if there's anyone volunteering to commit this as a patch - you're most welcomed!)
Thanks.
Comment #2
spasmody commentedsubscribe
Comment #3
spasmody commentedI suggest a on-mouse-hover pause, like ddblock module feature
Comment #4
chasingmaxwell commentedThis would be a really helpful feature. I favor the on-mouse-hover pause option.
Comment #5
chasingmaxwell commentedI added the mouseover pause functionality to the javascript file in this patch. I'm not very knowledgeable about working with drupal modules, so maybe someone else could add a setting in the module to turn this functionality on and off.
Comment #6
Kapox commentedIs it just me or does this patch not work? Still sliding even if I hover the slider..
*edit* I just noticed that it's for 2.0 does it work with 3.0?
Comment #7
chasingmaxwell commentedI actually wrote it in 3.0. Didn't see that this issue was for 2.0. This was the first patch I've submitted so its very possible I made a mistake. However, it works well for me. I utilized the jquery functions mouseenter and mouseleave. Perhaps this is where the issue is? I thought since this module is dependent on jQuery Plugins that these functions would be available to everyone who had this module enabled. Maybe not?
Comment #8
jweedman commentedI had an idea on this, and it seems to work for now - but I would agree it's not a great fix:
I read on another issue for Ajax Slideshow, where a guy needed his slideshow to be manual, and have NO auto animation. His fix, or another person's suggested fix, was to set the slide duration ridiculously high. ie - 999999.
That sort of gave me an idea. You can use javascript (jQuery) to dynamically set the slide duration very high, AFTER a user has clicked a thumbnail. (This duration is set within the module's admin interface, and called in 'ajax_slideshow.js' by the variable "Drupal.settings.ajax_slideshow.slide_duration")
Essentially, this gives a user the ability to be watching a slideshow, then when they decide to navigate the slideshow manually, the animation stops (almost anyway). This is what I used. Hope it helps. Still, I'd like to see a bit "cleaner" solution.
Comment #9
udig commentedThe line which causes the constant rotation is 118 (at the js file). Basically each time a tab is switched (either manually by click or automatically) the onClick callback is called and a new timeout is set.
Thus removing this line will ensure that when a tab is clicked no timeout is set.
Now we need to trigger the auto slide progress when the slideshow starts - we do that by setting a timeout at the initialization function and making the slideshow keep on progressing at the changeTab function.
Not too clear explanation however a patch for v3.0 is attached... (not tested thoroughly though).