WordPress NextGen GalleryView
Add class to selected thumbnail (1 post)

  1. tiddlytech
    Posted 3 years ago #


    Has anybody been able to work out a way to add a class to the selected thumbnail using the galleryview template. I know the normal template adds a class to the selected thumbnail using the built-in WP functionality where it checks the hrefs but with galleryview loading each image dynamically it doesn't work.

    I thought the default border and arrow around the active thumbnail would have been applied using an active class but it's using some repositioning hack instead.

    I've messed around with jQuery and I get as far as being able to add an active class to the first thumbnail of the filmstrip but can't get .click() to work on the nav arrows to re-assign the class to the following or previous list item when clicked. It seems like pretty obvious functionality to add to this so I was wondering if anybody else has implemented this before I waste more time trying to figure it out.

    Thanks for any help


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress NextGen GalleryView
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic