Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | activeslide_thumbnailhover-596116-1.patch | 1.55 KB | redndahead |
Comments
Comment #1
redndahead CreditAttribution: redndahead commentedHere is a patch to fix the issue. Tell me if it works for you?
Comment #2
jcmarco CreditAttribution: jcmarco commentedTested 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
Comment #3
isaac77 CreditAttribution: isaac77 commentedPatch 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!
Comment #4
redndahead CreditAttribution: redndahead commentedPatch committed.
Comment #6
draganFSD CreditAttribution: draganFSD commented-