开发者

IE opens a new window for a link, FF doesn't

Very strange, I have a list of products. When a user clicks on an the image it opens up a new IE window.

Firefox doesn't do this.

What could be the reason for this?

the urls are:

http://website.example.com

and clicking on the image goes to (which is hosted on another ser开发者_开发问答ver):

http://store.website.example.com

Could this be some internal security measure or ?

Note: I don't have target=_blank and I even tried addign target=_self but no change.

Update It turns out some javascript function was searching for certain urls and modifying its behaviour! thanks.


A new window is generally prompted by a target attribute on the A tag:

<a href="#" target="_blank">linktext</a>

FF can supress/override this behaviour in it's preferences.


<a href="http://store.website.example.com" target="_blank">
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜