Results 1 to 2 of 2

Thread: Several Dynamic-Ajax-Content-Areas on 1 page

  1. #1
    Join Date
    Sep 2006
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Several Dynamic-Ajax-Content-Areas on 1 page

    1) Script Title: Dynamic Ajax Content

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

    3) Describe problem: I have 3 DAC areas on 1 page. Is it possible to make all of them show own page right after loading? I mean without clicking a link?

    This works only for one of them (changing variables here gives no result) -

    <script type="text/javascript">
    ajaxpage('test.htm', 'rightcolumn') //load "test.htm" into "rightcolumn" DIV
    </script>

  2. #2
    Join Date
    Sep 2006
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The problem was solved easily by just adding 2 more lines:

    <script type="text/javascript">
    ajaxpage('test.htm', 'rightcolumn')
    ajaxpage('test2.htm', 'rightcolumn2')
    ajaxpage('test3.htm', 'rightcolumn3')

    </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
  •