Results 1 to 5 of 5

Thread: Content Slider v2.4

  1. #1
    Join Date
    Jan 2009
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Red face Content Slider v2.4

    1) Script Title: Featured Content Slider v2.4

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

    3) Describe problem: I've tried to adapt this wonderful script to show the pagination along the right-hand side and not along the bottom. I almost have it worked, but there's something wrong and I've tried tweaking every combination with no luck for days now. Could somebody take a look at this and let me know what I'm doing wrong?!?!!

    Here's a link to the live code that's messing up: http://www.creative-catering.ca/hospital/

    and here's a link to a picture of how it should look: http://www.creative-catering.ca/hosp...ws_example.jpg

    Thanks,
    Tom

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

    Default

    By not working, do you mean the links don't do what they are supposed do when clicked on, or just that the interface looks broken? For the former, testing your page, the pagination links do load the selected slide when clicked on. If the later, that would be a CSS/ markup issue actually, not really related to this script per say.
    DD Admin

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    Tommy Menzer (01-26-2009)

  4. #3
    Join Date
    Jan 2009
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by ddadmin View Post
    By not working, do you mean the links don't do what they are supposed do when clicked on, or just that the interface looks broken? For the former, testing your page, the pagination links do load the selected slide when clicked on. If the later, that would be a CSS/ markup issue actually, not really related to this script per say.

    Well, the programming functions properly; however, I try to make changes to the source CSS for a variety of classes in the pagination and they don't seem to take effect. No matter how many variations I try, it's like it's being overridden by something in the code/JavaScript. Sorry, I'm new to this...any help is greatly appreciated!!!!

    Tommy

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

    Default

    The script doesn't change any of the existing CSS classes in your pagination DIV's links. It only looks for links with certain CSS classes to assign special meaning to them:

    Code:
    <div id="paginate-slider1" class="pagination">
    
    <a href="http://google.com">Google</a> <a href="#" class="toc">My Dog</a> <a href="#" class="toc anotherclass">My Cat</a> <a href="#" class="toc">Bob and Sue</a> <a href="#" class="prev">&lt;</a> <a href="#" class="next">&gt;</a>
    
    </div>
    In addition, other CSS classes can co-exist inside these links, such as "toc anotherclass". The only thing that may amount to the script changing your existing CSS classes is that it adds a class of "selected" to the pagination link corresponding to the current page. It does not, however, remove any existing CSS classes in the process.
    DD Admin

  6. #5
    Join Date
    Jan 2009
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    OK I'll try adding those new subclasses and see if I can refine it. It's based on the Yahoo! homepage news area that highlights new stories.

    Thank you

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
  •