opening links in the same window or in a new (tab)

瘦欲@ 提交于 2019-12-11 18:32:40

问题


It has always been best practice to open links in the same window. Should that still be the rule now that most common browsers use tabs? Personally i prefer closing a tab/window over hitting the backbutton. What are your thoughts?


回答1:


If you prefer closing a tab/window over hitting the back button, then by all means, click links with your middle mouse button. But please don't force your surfing preferences on others. Tabs don't change this principle in the slightest.




回答2:


I think consistency is the most important thing to keep in mind. Browsers are beginning to provide ways to open links in multiple tabs regardless of the web site's design decisions, so maintaining similar functionality as other websites is probably the biggest concern.

You really want your site's core features to behave like the other sites your users visit, so they feel comfortable and don't waste time trying to figure out the differences.

That said, there are times when you should open a new window/tab vs. opening a link in the current window/tab. For example, if the two pages (the current one, and the linked page) really need to be viewed simultaneously).




回答3:


Yes, it should be the same. A new tab is more or less a new window, it just happens to be held in the same parent container as the original tab.




回答4:


Are we discussing links that leave your site? Our company benefits provider has a web site for administering our flexible spending acct. It opens 3 separate windows from the time I login until I reach the page to submit a claim. I have never been a fan of opening a new tab/window when navigating within a site.

Thoughts?




回答5:


Some browsers actually open a new window when asked to open a new window (gasp), even if they support tabs. I usually have two or three different browser windows open, each with a number of tabs, grouped by task. If some site unexpectedly forces a new window on me, I now have to re-integrate it as a tab into one of my open windows if I want to keep my task grouping. This is a major annoyance.

If I want to open something in a new tab, I can do so myself, thank you very much. Don't try to think for the user. The only time I can accept/expect a new window is when the original site needs to stay open, for example because I'm entering text into a form but need to open a "more info" window (see StackOverflow Answer Help button).




回答6:


I'm going to wear out my scroll wheel button by the amount of tabs I open. There's a great Firefox extension that allows you to close the current tab with a single keypress, and I've assigned to it, so it's very easy to close tabs quickly.




回答7:


I think it is still in the realm of personal preference, but depending on what I am browsing I am finding more and more that I open links in new tabs. I do this a lot when I a reading a page with a lot of related links but I want to finish reading the main page first. That way when I am done I can go look at all those links rather than trying to go back using the back button.



来源:https://stackoverflow.com/questions/123000/opening-links-in-the-same-window-or-in-a-new-tab

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!