PDA

View Full Version : Opening two windows in one click?


code_slinger
07-08-2003, 11:31 AM
How can this be done? Moreover, click here (http://www.freewebs.com/arrogant_*******/graphics/something.gif) to get a better idea of what I'm talking about. You'll have to click the "expand" button in the lower-right if you're using IE6. Thanks in advance.

tommysphone
07-08-2003, 12:01 PM
I'd do this

<a
href="http://google.com/"
onclick="window.open(this.href, 'popupwindow', 'width=400,height=300,scrollbars,resizable');
return false;"
>
Click me any way you desire, now or later, bookmarked or not.
I will not attempt to control you, nor punish you, for I am a
simple hyperlink; eager to do your bidding, while remaining ever
helpful. I anticipating desires, but never trample possibilities.
This is the way of the Link.
</a>

then have an onload event in the newly opened window to open another. Or if I was feeling lazy I'd create the first link and use javascript to open two windows.

zoobie
07-08-2003, 09:26 PM
I'd find a better way especially since everyone is turning off pop-ups. :cool:

code_slinger
07-22-2003, 06:12 AM
Alrighty, thanks http://www.codingforums.com/images/icons/icon7.gif

ReadMe.txt
07-22-2003, 08:31 PM
<a href="#" onclick="window.open('url1.htm',win1);window.open('url2.htm',win2);return false;">Click Me</a>