Log in

View Full Version : open multiple links on click



joesatriani
02-01-2008, 10:10 AM
hello everyone,

I've been working on my website for a long time.
I decided to choose ajax to load the dynamic content into the divs, like
http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

This works aweswome, but now i want multiple divs to change when a link is clicked!
Normally the link is: <a href="javascript:ajaxpage('polat/polat_01.htm', 'content');">
But now i want to load more divs than only that 'content' div.

Anyone?

Thanks in advance,
dennis

joesatriani
02-01-2008, 10:34 AM
nevermind.. have the solution now:

<a href="javascript:ajaxpage('polat/polat_02.htm', 'content'); ajaxpage('polat/polat_02.htm', 'text')">

just insert the main link twice and it works, sorry..