Need to open links in new tab in ie8 !

后端 未结 3 1125
独厮守ぢ
独厮守ぢ 2020-12-20 15:25

I have a sidebar (right sided iframe) and when i click on a link in it, it opens a new window in IE8, (in firefox it open a new tab). What do i need to do to open links in I

相关标签:
3条回答
  • 2020-12-20 16:04

    You need to use the target="_blank" attribute to make links open in a new window or tab. Where the link actually opens is up to the browser settings. So if you have Tools > Internet Options > Tabbed Browsing Settings > "Always open pop-ups in new tabs" selected, a target="_blank" link will open in a new tab. Note that this type of link will open in a new window by default on most browsers.

    0 讨论(0)
  • 2020-12-20 16:05

    Your settings look right, just loose the "Target" attribute in the html
    The target attribute defines where the linked document will be opened.

    0 讨论(0)
  • 2020-12-20 16:14

    Just a short observation, IE (all versions) will not open a link with invalid ULR address. For example a missing slash (http:/domain.ext). It will work on other browsers tho.

    0 讨论(0)
提交回复
热议问题