PDA

View Full Version : Featured Content Glider - custom buttons



borninMN
01-30-2012, 09:35 PM
1) Script Title: Featured Content Glider

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/featuredcontentglider.htm

3) Describe problem: I am currently using the Square CSS buttons for my script. Is there a way to change the buttons (1, 2, 3, Back, Forward) to ones that I create myself? How would I change the CSS to make it work?

ddadmin
02-02-2012, 08:24 AM
The pagination links for each slider is just plain HTML, so you can simply replace what you had with the markup for the new buttons. What transforms the buttons into pagination links is the presence of certain CSS class names added to them:


toc: A link with this CSS class will act as a pagination link. You should define as many such links as there are gliding contents to show. You do not necessarily need to know in advance how many gliding contents there are, however, as redundant "toc" links will automatically be hidden by the script.

prev: A link with this CSS class moves back the shown content by 1.

next: A link with this CSS class moves forward the shown content by 1.

Please see the script page for details on this.