Results 1 to 4 of 4

Thread: Featured Content Glider multiple controls?

  1. #1
    Join Date
    Apr 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Featured Content Glider multiple controls?

    1) Script Title: Featured Content Glider

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tentglider.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.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Why can't you just give multiple buttons the designated CSS class name to get them to act as back/next buttons? For example:

    Code:
    <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>

  3. #3
    Join Date
    Jun 2008
    Location
    Boise, ID
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    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

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Yep, only links inside the "toggler" DIV are parsed for pagination links based on the required convention:

    Code:
    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •