2

IE9 で奇妙な動作が見られます。

    1 <a href="http://stackoverflow.com" target="_blank">Link is not working in IE9</a>
    2 <a href="http://stackoverflow.com" target="mywindow">Link is not working in IE9</a>
    3 <a href="http://stackoverflow.com">Link is working in IE9</a>

IE8 でテストすると、3 つのリンクすべてが正常に動作します。1 つの IE9 リンク 1 と 2 でテストしてもうまくいきません (残念ながら、これが IE9 の一般的な問題なのか、それとも私がテストしているシステムだけなのか、テストを行う IE9 を持つ人は誰もいません)。

私はこれをやろうとしましたhttp://www.pcwindowstips.com/2007/internet-explorer-tips/hyperlinks-not-working-in-internet-explorer/しかし成功しませんでした。interner-setting をリセットしても解決しませんでした。

何か案は?

4

2 に答える 2

0

このスニペットを使用するとうまくいきましたが、新しいウィンドウではなく新しいタブで開きました:

<html>
    <head>
        <title>test a</title>
    </head>
    <body>
        <a href="http://stackoverflow.com" target="_blank">Link is not working in IE9</a>
        <a href="http://stackoverflow.com" target="mywindow">Link is not working in IE9</a>
        <a href="http://stackoverflow.com">Link is working in IE9</a>
    </body>
</html>

ポップアップ ブロッカーによってブロックされていないという確信はありますか?

于 2012-09-26T08:37:18.087 に答える
0

IE のタブの問題のようです。タブをオンにして、新しいタブではなく新しいウィンドウでリンクを開くように IE に指示すると、機能しません。リンクを新しいタブで開くように IE に指示すると、動作します。

于 2012-10-02T13:30:45.420 に答える