Results 1 to 2 of 2

Thread: Need Help With Dynamic Ajax Content Script

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

    Question Need Help With Dynamic Ajax Content Script

    1) Script Title: Dynamic Ajax Content + Scrollable Content II

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

    3) Describe problem: I am utilizing the Dynamic Ajax Content to load the pages on my website into a DIV. This part works. Now to keep the nasty silver scrollbars at bay I want to use the Dynamic Scrollable Content II script to define a container in which the content of the called pages is kept. If I visit the page called by the Ajax script separately everything looks fine. However, if I call it through a link set to pass the parameters of the Ajax Content script, the page with the Scrollable content does not work. The container is tossed aside, the content fills the whole DIV and does not work as expected.

    I have tried numerous things but haven't had ANY luck. Can someone please help on this? It would be much appreciated.

    Thanks,
    Ryan

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

    Default

    I've done some other testing and it appears that the page being loaded cannot contain javascript. I've tried a simple

    <script language="javascript">
    document.write('Hello World!');
    </script>

    And it does not work when loaded into the DIV through the Dynamic Ajax Content script. It does work if I go to the full URL of the file in question. Does this script not support loading pages with javascript in them?

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
  •