I am looking for a way in which I can include the title of the next slide into the pager/controls of a slideshow.

I was hoping to use one of two methods:

  1. Be able to add the field [node:title] in the Controls Prev/Next output
  2. Add a class to the next pager item in the controls pager after the current one

This is the image the designer has sent, as explanation of what i am trying to do:

Slider pager

Using the second option, I was hoping to just display the bottom controls on the side of the slider, hide all pager elements except the one next to the active pager item.

In my limited understanding of javascript, I imagine that the second option is probably the most straight forward, whereas the first option would require more php template/module changes. I have found some modules that alter the Controls output, but nothing that adds the function that I am after.

Most of the issues I have found regarding pagers and controls are about the active slide, none about the next slide.

Any help would be appreciated.

CommentFileSizeAuthor
Slider pager.jpg91.39 KBinky@inky3d.com
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

NickDickinsonWilde’s picture

Status: Active » Closed (outdated)

Probably simplest would be outputting a pager-field with the title and then hiding most of them with css/jquery.

Probably better to do a preprocess function on the next/previous controls.

re-open if still an issue.