Click to See Complete Forum and Search --> : Two popups at one time! Possible?


shard
11-01-2003, 02:41 PM
Hi there everyone!

can we open two popups simultaneously from one link?

like this is the normal way... this script in head tag:

function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}

and then this script on link:

<a href="#" onClick="MM_openBrWindow('index.htm','','resizable=yes,width=800,height=600')"></a>

but can you open two windows with just this link.... if yes... how? can anyone please temme that??!!

thanx in advance!

pyro
11-01-2003, 04:16 PM
Try something like this:

<a href="http://www.webdevfaqs.com" onclick="window.open(this.href); window.open('http://www.w3.org'); return false;">Two popups (if you have JavaScript)</a>

Though only the first link remains accessible....