View Full Version : Loading a page initially [Dynamic Ajax Content script]
AshleyQuick
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?
Thanks,
Ash
Snookerman
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
</script>
Replace thestartpage.htm with the page you want to be loaded.
monshinejack
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?
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.