PDA

View Full Version : Featured Content Glider multiple controls?



karc
04-09-2008, 12:31 AM
1) Script Title: Featured Content Glider

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

3) Describe problem: I would like to have multiple next and previous buttons on my page that control a single content glider. Is this possible? It would be nice if I could do something as simple as featuredcontentglider.next() from another method but I already know it's not that simple. If this can't be done, does anyone know something similar with this functionality? Thanks.

ddadmin
04-09-2008, 08:38 PM
Why can't you just give multiple buttons the designated CSS class name to get them to act as back/next buttons? For example:


<a href="#" class="prev">Prev</a> | <a href="#" class="prev">Prev 2</a>
<a href="#" class="toc">Page 1</a> <a href="#" class="toc">Page 2</a> <a href="#" class="toc">Page 3</a>
<a href="#" class="next">Next</a> | <a href="#" class="next">Next 2</a>

dangr john
06-18-2008, 08:14 PM
the script called only works for the css class in a certain div - if placed anywhere else, the buttons are not supposed to work. - correct me if im wrong:D

ddadmin
06-19-2008, 07:22 PM
Yep, only links inside the "toggler" DIV are parsed for pagination links based on the required convention:


featuredcontentglider.init({
gliderid: "canadaprovinces", //ID of main glider container
contentclass: "glidecontent", //Shared CSS class name of each glider content
togglerid: "p-select", //ID of toggler container