Results 1 to 3 of 3

Thread: Loading a page initially [Dynamic Ajax Content script]

  1. #1
    Join Date
    Aug 2005
    Posts
    54
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default Loading a page initially [Dynamic Ajax Content script]

    1) Script Title: Dynamic Ajax Content

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

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

    Thanks,
    Ash

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Put this code in your head section:
    HTML Code:
    <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.

  3. The Following User Says Thank You to Snookerman For This Useful Post:

    monshinejack (11-28-2008)

  4. #3
    Join Date
    Nov 2008
    Posts
    2
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    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?

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
  •