Is there a way to indicate in the singleframe mode with the numbered pager mode which of the numbers is active? Thanks.

Comments

taote’s picture

Component: User interface » Code
redndahead’s picture

Status: Active » Fixed

If you look at the css it currently underlines the active slide. This is done using the activeSlide class that gets applied to the a tag. Here is the css that is used.

.views_slideshow_singleframe_pager.numbered a.activeSlide {
  text-decoration: underline;
}
Sylense’s picture

I've styled the "activeSlide" class accordingly however, apparently the class is not switching to the active slide upon click or automatic transition.

See: http://dev.bridgemetrics.com/

redndahead’s picture

I can verify it is still working for me, but I can also verify that it is not working for you. Are you using the beta version or the dev version? Could you see if the extra wrapper around the pager could be the problem? There also seems to be a missing div that goes around each pager item. Any one of those things could be messing with the jQuery.

Sylense’s picture

I'm using "6.x-2.0-beta2"

And it was doing the same thing before I applied the wrapper div and removed the div around each pager item. I tested it before applying any of my changes to the markup and since it still wasn't working I saw no harm in the go ahead on styling it accordingly. (Didn't need the extra divs around the pager items for my use). Any ideas?

Sylense’s picture

To make things easier in troubleshooting the problem I've removed all of my custom styling to the pager and reverted to the out of the box "6.x-2.0-beta2" module. Still not switching the activeSlide class.

redndahead’s picture

Can you try dev and see if it works there?

Sylense’s picture

I now am using the dev version and now the pager doesn't display at all. When I view the area in firebug apparently it's not even building it out. It only places the opening parent pager div and nothing else inside.

<div id="views_slideshow_singleframe_pager_1" class="views_slideshow_singleframe_pager 0"/>

Here are my relevant settings in views:

Style: Slideshow
- List type: unordered
- Slideshow Mode: SingleFrame
(irrelevant fields - skip down to...)
- Pager: Bottom
- Pager Type: Numbered
(the rest are default settings)

Row Style: Node
- Build Mode: Full node
- Display Links: unchecked
- Display node comments: unchecked

Use Ajax: Yes

Use Pager: No (when set to yes it displays the core Drupal pager but of course it doesn't work correctly with this module)

Items to Display: Unlimited

redndahead’s picture

Status: Fixed » Active

Do you have a link to this page? Have a look at the instructions located here #601234: Any Guides or How-To's for making a slideshow block? Does that help any? Does defining fields instead of Full node for row style fix anything?

Sylense’s picture

Well I went and changed it from Full Node to just Fields and still no success. I was originally using the older version of this module and I needed the ability to style each slide of the slideshow differently so I had it to display Full Node so I could style them by Node ID. But the newer version of the module places each one in a separate div with identifiers so that is no longer necessary (great feature by the way).

I've reverted the module back to the beta release and now the pager appears but still doesn't switch the active state. I'm going crazy over here! Lol

redndahead’s picture

That's so weird. I can't replicate your issue here. I'm not sure what else to do without looking at your site again. Is it still the same url?

redndahead’s picture

I see that there are 2 jquery cycle plugins being loaded. The views_slideshow one and the one from jquery_plugin. It may be that those 2 are conflicting with each other. Can you remove the jquery cycle one and see if it fixes the issue?

Sylense’s picture

Ahhhh!! There's the problem! I could NOT figure that out! I didn't even think to look at that. I was using the "Rotor" module to rotate the logos and the client quotes but since I now have the Views Slideshow module I instead, reconfigured those views to use the same module and it all works. Thanks alot!! Now I just have to re-tweak some of my styling.

redndahead’s picture

Status: Active » Fixed

Whew! Glad that it's fixed now.

Status: Fixed » Closed (fixed)

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