Need to open links in new tab in ie8 !

后端 未结 3 1149
独厮守ぢ
独厮守ぢ 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条回答
  •  梦毁少年i
    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.

提交回复
热议问题