Closed (fixed)
Project:
Views Slideshow
Version:
7.x-3.0-alpha1
Component:
Cycle
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2011 at 07:42 UTC
Updated:
20 Jan 2013 at 20:31 UTC
I added the patch to this version so that the active code is added. That is now there:
views_slideshow_active_pager_field_item
I added css to change the color of the text for this item so that you could see which slide you're on. All the other ones use a different color.
It doesn't take effect.
I even removed the color that all the other pager items were using just to ensure that wasn't overwriting it (so now they use the default for the site). Still nothing.
You can see the slideshow here: http://southernsierran.org
Thanks for your help.
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, {"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"angelesfront","theme_token":"CLiOa_JN7QdxlleBqHoj8q2gImk8nI0Os9v_jEVEtGU","js":{"misc\/jquery.js":1,"misc\/jquery.once.js":1,"misc\/drupal.js":1,"misc\/ui\/jquery.ui.core.min.js":1,"misc\/jquery.ba-bbq.js":1,"modules\/overlay\/overlay-parent.js":1,"modules\/contextual\/contextual.js":1,"misc\/form.js":1,"themes\/bluemastersORIG\/js\/bluemasters.js":1,"sites\/all\/modules\/views_slideshow\/js\/views_slideshow.js":1,"sites\/all\/modules\/admin_menu\/admin_menu.js":1,"sites\/all\/modules\/custom_search\/custom_search.js":1,"sites\/all\/libraries\/jquery.cycle\/jquery.cycle.all.js":1,"sites\/all\/modules\/views_slideshow\/contrib\/views_slideshow_cycle\/js\/views_slideshow_cycle.js":1,"0":1},"css":{"modules\/system\/system.base.css":1,"modules\/system\/system.menus.css":1,"modules\/system\/system.messages.css":1,"modules\/system\/system.theme.css":1,"misc\/ui\/jquery.ui.core.css":1,"misc\/ui\/jquery.ui.theme.css":1,"modules\/overlay\/overlay-parent.css":1,"modules\/contextual\/contextual.css":1,"modules\/comment\/comment.css":1,"sites\/all\/modules\/date\/date_api\/date.css":1,"sites\/all\/modules\/date\/date_popup\/themes\/datepicker.1.7.css":1,"modules\/field\/theme\/field.css":1,"modules\/node\/node.css":1,"modules\/search\/search.css":1,"modules\/user\/user.css":1,"sites\/all\/modules\/views\/css\/views.css":1,"sites\/all\/modules\/ctools\/css\/ctools.css":1,"sites\/all\/modules\/views_slideshow\/views_slideshow.css":1,"sites\/all\/modules\/taxonomy_access\/taxonomy_access.css":1,"sites\/all\/modules\/admin_menu\/admin_menu.css":1,"sites\/all\/modules\/admin_menu\/admin_menu.uid1.css":1,"sites\/all\/modules\/custom_search\/custom_search.css":1,"sites\/all\/modules\/views_slideshow\/contrib\/views_slideshow_cycle\/views_slideshow_cycle.css":1,"sites\/all\/modules\/addthis\/addthis.css":1,"themes\/angeles\/style.css":1,"themes\/angeles\/angelesfront\/frontstyle.css":1}},"overlay":{"paths":{"admin":"node\/*\/edit\nnode\/*\/delete\nnode\/*\/revisions\nnode\/*\/revisions\/*\/revert\nnode\/*\/revisions\/*\/delete\nnode\/add\nnode\/add\/*\noverlay\/dismiss-message\nuser\/*\/shortcuts\nadmin\nadmin\/*\nbatch\ntaxonomy\/term\/*\/edit\nuser\/*\/cancel\nuser\/*\/edit\nuser\/*\/edit\/*","non_admin":"admin\/structure\/block\/demo\/*\nadmin\/reports\/status\/php"},"ajaxCallback":"overlay-ajax"},"admin_menu":{"destination":"destination=node","hash":"f525cc6a9281bd11824fe4bf45ab5f44","basePath":"\/admin_menu","replacements":{".admin-menu-users a":"0 \/ 1"},"margin_top":1},"custom_search":{"form_target":"_self","solr":0},"viewsSlideshow":{"front_page_slideshow-block":{"methods":{"goToSlide":["viewsSlideshowPager","viewsSlideshowSlideCounter","viewsSlideshowCycle"],"nextSlide":["viewsSlideshowPager","viewsSlideshowSlideCounter","viewsSlideshowCycle"],"pause":["viewsSlideshowControls","viewsSlideshowCycle"],"play":["viewsSlideshowControls","viewsSlideshowCycle"],"previousSlide":["viewsSlideshowPager","viewsSlideshowSlideCounter","viewsSlideshowCycle"],"transitionBegin":["viewsSlideshowPager","viewsSlideshowPagerFields","viewsSlideshowSlideCounter"],"transitionEnd":[]},"paused":0}},"viewsSlideshowPager":{"front_page_slideshow-block":{"bottom":{"type":"viewsSlideshowPagerFields"}}},"viewsSlideshowPagerFields":{"front_page_slideshow-block":{"bottom":{"activatePauseOnHover":0}}},"viewsSlideshowCycle":{"#views_slideshow_cycle_main_front_page_slideshow-block":{"num_divs":2,"id_prefix":"#views_slideshow_cycle_main_","div_prefix":"#views_slideshow_cycle_div_","vss_id":"front_page_slideshow-block","effect":"fade","transition_advanced":1,"timeout":4000,"speed":650,"delay":0,"sync":1,"random":0,"pause":0,"pause_on_click":0,"action_advanced":1,"start_paused":0,"remember_slide":0,"remember_slide_days":1,"pause_when_hidden":0,"pause_when_hidden_type":"full","amount_allowed_visible":"","nowrap":0,"fixed_height":1,"items_per_slide":1,"wait_for_image_load":1,"wait_for_image_load_timeout":300,"cleartype":0,"cleartypenobg":0,"advanced_options":"{}"}}});
//--><!]]>
Comments
Comment #1
wanneng commentedHi jsimonis,
you have inserted the .active class in
Thanks
Comment #2
jsimonis commentedI did it via the patch here: http://drupal.org/node/1144512
Comment #3
jsimonis commentedOk, I even tried the dev version. The active class mentioned above gets added, but only to the first slide. So when it transitions between slides, the pager at the bottom does not change. All I want is the text to change to white when the items change.
http://southernsierran.org
Comment #4
Todd Young commentedSeems to be a duplicate report of #1306494: "activeSlide" class is initially applied, but doesn't update as slideshow advances, or if you click a pager number
Comment #5
jsimonis commentedI guess maybe the issue is in both version 6 and 7? That other post was for the D6 version.
Comment #6
ndenhild commentedSet view to use Ajax, then there is a active class.
.views-slideshow-pager-field-item.active
Good luck.
Comment #7
ndenhild commentedComment #9
kristen polDuplicate. See http://drupal.org/node/1144512#comment-6962460