Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Scrollable Content II doesn't scroll

  1. #1
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    927
    Thanks
    121
    Thanked 2 Times in 2 Posts

    Default Scrollable Content II doesn't scroll

    1) Script Title: Scrollable Content II

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex11/scrollc2.htm

    3) Describe problem:

    Hey,
    I placed the above code on my site, but the text doesn't scroll. Anyone knows why ? See it at http://hetbestevoordeel.be/test/test.html

  2. #2
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    927
    Thanks
    121
    Thanked 2 Times in 2 Posts

    Default

    Also: why are the imgs of 'up' and 'down' not as close to eachother as in the example on DD ?
    Could it be that the problem is caused by the lightbox ?
    Last edited by chechu; 12-18-2007 at 01:14 PM.

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    For more than one scroller on a page you would need something like this:

    http://home.comcast.net/~jscheuer1/s...side_table.htm

    However, many of your page's resources aren't on the server and/or are being served without the proper mime type. After you get rid of Scrollable Content II, first take away any references to external files that aren't being used, then make sure all of those that are meant to be used are where they are mentioned in the page's code, and being served in the proper mime type. Once the rest of the page is working, try installing the modular version of Scrollable Content linked to in this message.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. #4
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    927
    Thanks
    121
    Thanked 2 Times in 2 Posts

    Default

    Indeed not all the external files were there.
    So please have a look here: http://www.cecicasariego.com/indexNL.html: same site but with all links in it.
    As you can see the scrollers don't move.

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    All you need to do now is to switch to the script I recommended in my last post.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #6
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    927
    Thanks
    121
    Thanked 2 Times in 2 Posts

    Default

    Still doesn't work.
    Could it be that there is a problem if I want to place it with the Lightbox Viewer ?
    Maybe because there is twice an onload function ?

    Sorry, I correct, it does work, but only one scroller; the second scroller makes the first one move (I use the arrows under the text).
    You can see it on http://www.hetbestevoordeel.be/test/indexNL.html
    Last edited by chechu; 12-19-2007 at 10:01 AM.

  7. #7
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You left out:

    Code:
    /******************************************
    * Scrollable content script III- © John Davenport Scheuer
    * As first seen in: http://www.dynamicdrive.com/forums - membername: jscheuer1
    * Very freely adapted from Scrollable content script II- © Dynamic Drive (www.dynamicdrive.com)
    * Visit http://www.dynamicdrive.com/ for full original source code
    * This notice must stay intact for legal use
    ******************************************/
    But, of course, that's not the problem. You need a unique:

    Code:
    contentid="content2";
    for each scroller. Incidentally, this must also be different than all id="whatever" attributes and all id assignments on the page. Try:

    Code:
    contentid="content3";
    for the second one.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  8. #8
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    927
    Thanks
    121
    Thanked 2 Times in 2 Posts

    Default

    You left out:


    Code:
    /******************************************
    * Scrollable content script III- © John Davenport Scheuer
    * As first seen in: http://www.dynamicdrive.com/forums - membername: jscheuer1
    * Very freely adapted from Scrollable content script II- © Dynamic Drive (www.dynamicdrive.com)
    * Visit http://www.dynamicdrive.com/ for full original source code
    * This notice must stay intact for legal use
    ******************************************/But, of course, that's not the problem.
    Didn't really leave it out. As my whole site is built up with DD-stuff, I placed a big thanks at the top of the page, so the rest of the codes would be easy to to oversee.

    Anyway. It all works well, except one detail:
    The text shown when loading the page begins at a certain level, but as soon as you start scrolling down, the top level of the text is much higher. I tried to play with margin-top and padding-top in the div, but I can't find it. What's the secret, please ?

  9. #9
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by chechu View Post
    Didn't really leave it out. As my whole site is built up with DD-stuff, I placed a big thanks at the top of the page, so the rest of the codes would be easy to to oversee.
    I'm not sure if that quite 'gets it' as far as DD's usage policy (see particularly #4), and certainly not as far as mine. That's my script, not DD's.

    Quote Originally Posted by chechu View Post
    Anyway. It all works well, except one detail:
    The text shown when loading the page begins at a certain level, but as soon as you start scrolling down, the top level of the text is much higher. I tried to play with margin-top and padding-top in the div, but I can't find it. What's the secret, please ?
    There's really no secret, you can just play with the actual elements used and/or the style until it suits you and/or use one of the demo scrollers as a template - they work. But since neither of your pages currently have both the script working properly and the content you are actually going to use, I think I will wait on that before offering any specific fine tuning advice.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  10. #10
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    927
    Thanks
    121
    Thanked 2 Times in 2 Posts

    Default

    That's my script, not DD's.
    I see your point. Will adjust that.

    But since neither of your pages currently have both the script working properly and the content you are actually going to use, I think I will wait on that before offering any specific fine tuning advice.
    They work on my computer on http://www.cecicasariego.com
    In your script you find this in the div:
    Code:
    "margin-top:-.8em!important;margin-top:.2em;"
    Could this be what I am looking for, but is not correct ?

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
  •