In order to help style the active breakout teaser, the javascript should add some class to identify the active teaser.

Right now there is a .views_slideshow_thumbnailhover_active_teaser but it doesn't cycle, it is only applied to the first thumbnail breakout teaser,
and in the jquery cycle plugin there is an .activeSlide class but it is not shown in the view.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

redndahead’s picture

Status: Active » Needs review
FileSize
1.55 KB

Here is a patch to fix the issue. Tell me if it works for you?

jcmarco’s picture

Status: Needs review » Reviewed & tested by the community

Tested and working great.

But now I have the doubt about the need of still using in views_slideshow_thumbnailhover.theme.inc
the class: views_slideshow_thumbnailhover_active_teaser for the first element in function
theme_views_slideshow_thumbnailhover_breakout_teaser($item, $id, $count)

Would it be still needed? with just the activeSlide would be enough

isaac77’s picture

Patch works great for me, thanks! Was banging my ahead against a wall trying to figure out what i was doing wrong until I came across this post.

The demo site (http://drupalhub.org/videos) shows the correct behavior, which made me think it was a configuration rather than code issue. But I guess the demo is using this patch as well?

Thanks for a _great_ module!

redndahead’s picture

Status: Reviewed & tested by the community » Fixed

Patch committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

draganFSD’s picture

-