JavaScript を使用してポップアップ ウィンドウを開こうとしています。Chrome では動作しますが、IE や Firefox では動作しません。
head セクションのコードは次のとおりです。
<head>
<script type="text/javascript">
function newPopup(url) {
popupWindow = window.open(
url,'popUpWindow','height=400,width=400,left=550,top=200,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes')
}
</script>
</head>
そして、本文セクションの私のコード:
<body>
<a href="javascript:newPopup('buy-now/ambush-jacket.html');" target="_new"><img src="images/banner/buy.gif"></a>
</body
>
そして、ここにページへのリンクがあります: http://riverswest.com/riverswest-site/ambush-jacket.html
クリックしたいBUY NOW画像。