Results 1 to 3 of 3

Thread: Complex Problem: Using 2 DD scripts in Tandem

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

    Default Complex Problem: Using 2 DD scripts in Tandem

    1) Script Title: a) Scrollable Content II & b) Dynamic Ajax Content

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

    3) Describe problem: I'm running into a problem when my content loads using the Dynamic Ajax Content script and the content itself is contained in the Scrollable Content II box. The Scrollable Content II box does not work properly. The width specified is set properly but the content isn't constrained to the nscontainer (the div id="container" if the page was loaded in IE6.) height. Instead, the container expands to whatever the height of the content is which blows up my layout, pushing outside the constraints of the Dynamic Ajax Content DIV. I suspect it's an issue with too many nested divs.

    TIA! Any help is GREATLY appreciated. I'm tearing my hair out over here trying everything I can try.

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

    Default

    The problem is due to the fact that the page you're fetching via Ajax contains JavaScript (in this case, Scrollable Content II). Any runtime JavaScript inside such pages won't work when added to the page this way. There are workarounds sometimes to this limitation depending on the script, though in this case, it would require quite a lot of work done to the later script.

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

    Default

    What would you suggest as an alternative? I really need to confine the space and have it scroll but do not want to use iframes or regular scrollbars.

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
  •