Pause rotation when the mouse is over the area.
CandC540 - March 12, 2009 - 16:11
| Project: | Views Rotator |
| Version: | 6.x-1.0-alpha2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | CandC540 |
| Status: | needs review |
Description
I've just created a view using Views Rotator and when you put your mouse over the area, it stops the rotation. I've tried leaving the "Pause rotation when the mouse is over the area" option unchecked and it doesn't change anything. Can someone please test this and let me know if you get the same results? I've also tried 6.x-1.0-alpha2 and had the same problem.

#1
I don't know how to create a patch and submit it, but here's the code that I changed to get it to work. Also, I'm not so sure that my hack is correct.
In the views_rotator.module file change this code:
$view_settings['pause'] = check_plain($options['pause']);to this:
if (!empty($options['pause'])) {$view_settings['pause'] = check_plain($options['pause']);
}
#2
Bug confirmed, turning off 'pause on hover' does not stop images from pausing on hover.
Patch for the above fix attached, fix works for me.
Malc