View Full Version : Dynamic Ajax Content for 2 URLs

09-25-2007, 04:51 PM
I've been working with the Dynamic Ajax Content script. Works really well.

Looking for a way to double the parameters of the function so that I can use the a single link to load 2 pages in 2 separate target divs.

I have some dynamic content (from a single permalink) that I want to break up into two columns.

Anyone done this before? Is there a script modification that allows this?

Thanks for any help.

09-25-2007, 08:54 PM
Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.

Just do something like:

<a href="javascript:ajaxpage('test.htm', 'contentarea'); ajaxpage('test2.htm', 'contentarea2')">test</a>

09-25-2007, 10:18 PM
I'm new, please excuse the link omission.

I figured that that's what you'd do. At first I'd duplicated the function, but now I see there's no need. Thanks tons for the reply. Works beautifully.