PDA

View Full Version : Populating multiple DIVs at once



buckar00
02-21-2006, 11:06 PM
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.

ddadmin
02-22-2006, 12:49 PM
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,