Results 1 to 4 of 4

Thread: Not another Featured Content Glider question...

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

    Thumbs up Not another Featured Content Glider question...

    1) Script Title: Featured Content Glider

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tentglider.htm

    3) Describe problem: Run Error - "featuredcontentglider Undefined"

    I admit, not entirely sure what I am doing per se. I inserted the relevent steps 1 & 2 of code but when I want to preview the page I'm working on I am getting the error message as mentioned above

    featuredcontentglider.init({
    gliderid: "canadaprovinces", //ID of main glider container
    contentclass: "glidecontent", //Shared CSS class name of each glider content
    ......... etc......
    })
    The point at which is getting flagged per se is the end }) of the portion of code. I am probably missing the mark and have left out or not complete necessary stuff but have just literally insert the default coding from DD and nothing else. Can someone please walk me through it? Thank you.

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

    Default

    Make sure that each line within the configuration code ends with a comma, except the very last line:

    Code:
    speed: 500, //Glide animation duration (in milliseconds)
    direction: "downup", //set direction of glide: "updown", "downup", "leftright", or "rightleft"
    autorotate: true, //Auto rotate contents (true/false)?
    autorotateconfig: [3000, 2] <--No comma after this line
    })
    Otherwise, an error will occur. Please post a link to the page on your site that contains the problematic script so we can check it out.

  3. #3
    Join Date
    Mar 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by ddadmin View Post
    ...
    Thank you ddadmin, been busy over the past couple of days so haven't been able to check the forum as I am needing. Figuring it out as I go per se... also trying to figure out how to center the number bar... I suspect the css of the template has as a say in it!

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

    Default

    Well, for the pagination buttons, if you're using the "]CSS gray buttons as described in the supplementary page, centering them can be tricky, since they use float:left within the CSS to achieve their look. In the example on that page, it looks centered because what I really did was use margin-left to offset the entire button set to the left.

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
  •