特定の時間間隔の後に新しいタブ (ウィンドウ) を自動的に開く JavaScript コードを探しています。
最初の URL が実行されると、setTimeout()/setIntervals() は無視されますか?? 助けてください!
<html>
<head>
<script type="text/javascript">
function open_win() {
setInterval(window.open("http://www.google.com"), 1000);
setInterval(window.open("http://www.yahoo.com"), 1000);
setInterval(window.open("http://www.bing.com"), 1000);
}
</script>
</head>
<body>
<form>
<input type=button value="Open Windows" onclick="open_win()">
</form>
</body>
ありがとうございました