Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The CSS class for the active pager in a slideshow I made is not updating. The class name is "views_slideshow_active_pager_field_item" (I think). That class doesn't change when the active slide changes.
Check out the slideshow at the bottom of: http://youghalrealty-drupal.noelmcavoy.com/node/3
Jquery info is attached.
Comments
Comment #1
bleen CreditAttribution: bleen commentedconfirmed (and subscribing)
Comment #2
Circlefusion1 CreditAttribution: Circlefusion1 commentedI think this is the same issue.
http://drupal.org/node/1144512
it's fixed in the latest dev version.
Comment #3
bleen CreditAttribution: bleen commentedYup
Comment #4
codybarr CreditAttribution: codybarr commentedI tried updating to the latest dev version and now the pager isn't rendering at all.OK. Its rendering now but still having the same problem.Comment #5
codybarr CreditAttribution: codybarr commentedSome screenshots
Comment #6
redndahead CreditAttribution: redndahead commentedI would have to look at the site to get a better idea on what is happening. Use firebug to make sure what you think should have the active class is getting the active class and not something else. This has been tested as working in the latest development version.
Comment #7
codybarr CreditAttribution: codybarr commentedOK, great. I eventually found the correct selector: ".views-slideshow-pager-field-item.active" Not sure what "views_slideshow_active_pager_field_item" is for, seems redundant. Thanks!
Comment #8
dealancer CreditAttribution: dealancer commentedI confirm that pager is not updating at least for 7.x-3.0-alpha1.
I have following styles for the pager:
The problem is in that first item has .views_slideshow_active_pager_field_item class always, and all other items have just .views_slideshow_pager_field_item class.
All classes for first item:
views-slideshow-pager-field-item views_slideshow_pager_field_item views_slideshow_active_pager_field_item views-row-odd
And here are class for second item:
views-slideshow-pager-field-item views_slideshow_pager_field_item views-row-even
Comment #9
dealancer CreditAttribution: dealancer commentedI confirm that pager is not updating for 7.x-3.0-dev.
Comment #10
codybarr CreditAttribution: codybarr commentedBut it is working in the dev version. Read the solution in #7.
Comment #11
dealancer CreditAttribution: dealancer commentedThis selector isn't added to the pager item in alpha1, so I wrote a patch for it. I was too fast, I wish I read your comment before
Yeah, now I am closing an issue.
Comment #12
Kristen PolThis is still an issue and has lots of duplicates. See http://drupal.org/node/1144512#comment-6962460
Comment #13
BrightBoldSolution in #7 is the winner here.