View Full Version : Need Help With Dynamic Ajax Content Script

07-08-2008, 06:58 PM
1) Script Title: Dynamic Ajax Content + Scrollable Content II

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.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.

Ryan :confused:

07-08-2008, 10:26 PM
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!');

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?