View Full Version : Open multiple windows with one "click"
Hi, looking for some scrip that will allow me to open several windows, each containing a different website, by clicking a single button (or other) once. The idea is that I can click a single button/image titled "newspapers" and it would open up several windows simultaneously, each containing a site such as NYPost.com, Washingtonpost.com, FT Times.com etc etc.
any help appreciated.
A1ien51
08-09-2002, 02:33 PM
basically:
<button name="butt" value="NEWS" onclick="window.open('link2.htm');window.open('link1.htm');window.open('link3.htm');">
if you want more control, you need to use a pop up function that is called multiple times
premshree
08-09-2002, 04:50 PM
<input type="button" onClick="openMultiplePopUps();" value="Click Here">
<script language="JavaScript">
function openMultiplePopUps()
{
window.open('www.url1.com');
window.open('www.url2.com');
window.open('www.url3.com');
window.open('www.url4.com');
}
</script>
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.