Results 1 to 2 of 2

Thread: Populating multiple DIVs at once

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

    Default Populating multiple DIVs at once

    Using the Dynamic Ajax Content script, I am trying to update multiple DIVs with one click. Clicking on my link, it works most of the time, but sometimes one or a few DIVs will not populate. If I click the same link again, all of the DIVs may populate OK. If I click again, some of the DIVs may not appear. And so on...

    The link in question is this:
    <a href="javascript:;" onclick="javascript:
    ajaxpage('columns.html','contentarea');
    ajaxpage('profile.php?owner=1','columnLeft');
    ajaxpage('profile_right.php?owner=1','columnRight');
    ajaxpage('photoThumbs.php?owner=1','container_photoThumbs');
    ajaxpage('videoThumbs.php?owner=1','container_videoThumbs');
    ajaxpage('gallery_by_2.php','container_gallery_by_2');
    ajaxpage('photo_media.php?owner=1','media_area');
    ">

    Am I expecting too much? Is this link to devious?

    Thanks for your input.

  2. #2
    Join Date
    Aug 2004
    Posts
    9,890
    Thanks
    3
    Thanked 964 Times in 953 Posts
    Blog Entries
    15

    Default

    Yep, with the current script as is, trying to fetch multiple contents simultanously won't work, at least not reliabily at all. Unfortunately there's no easy way to do this currently, at least not until I rewrite the script to accomodate this,

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
  •