Download & Extend

Pause rotation when the mouse is over the area.

Project:Views Rotator
Version:6.x-1.0-alpha2
Component:Code
Category:bug report
Priority:normal
Assigned:CandC540
Status:needs review

Issue Summary

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.

Comments

#1

Component:User interface» Code
Assigned to:Anonymous» CandC540
Status:active» needs review

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

AttachmentSize
views_rotator-399786.patch 847 bytes

#3

subscribe

#4

This module looks pretty much abandoned. As http://drupal.org/project/views_slideshow now does cross-fade and is actively maintained you may want to try that instead.