View Full Version : Loading a page initially [Dynamic Ajax Content script]

11-28-2008, 07:32 AM
1) Script Title: Dynamic Ajax Content

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

3) Describe problem: Is there not a way to designate an initial page to be displayed?


11-28-2008, 08:01 AM
Put this code in your head section:

<script type="text/javascript">
ajaxpage('thestartpage.htm', 'rightcolumn') //load "thestartpage.htm" into "rightcolumn" DIV
Replace thestartpage.htm with the page you want to be loaded.

11-28-2008, 04:44 PM
Hi i tried what you suggested and it worked. However the page i'm using as the initial page uses javascript and the from the documentation i understand that the .js and .css files have to be loaded from external files, But how do i make it work with your script?