Create 4 Popups From 1 Click

[Total: 0    Average: 0/5]

This shows how to have 1 HREF click cause 4 popup windows to open up.

Body Code:

<script type=text/javascript>
function makePopUps() {
var win1 = window.open("http://www.js-examples.com/","","width=300,height=300,left=120,top=50,status=no,resizable=no,"); 
var win2 = window.open("http://www.js-examples.com/js/","","width=300,height=300,left=120,top=100,status=no,resizable=no,"); 
var win3 = window.open("http://www.js-examples.com/js/search.html","","width=300,height=300,left=120,top=150,status=no,resizable=no,"); 
var win4 = window.open("http://www.js-examples.com/js/submit.html","","width=300,height=300,left=120,top=200,status=no,resizable=no,"); 
}
</script>
<BR><a href="javascript:makePopUps()">make popups</a>

Times Viewed: 0

Leave a Reply

Your email address will not be published. Required fields are marked *