.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal

Home >> Articles >> ASP.NET >> Post New Resource Bookmark and Share   

 Subscribe to Articles

Why we should avoid opening links in new window.

Posted By:Sunil Yadav       Posted Date: May 27, 2010    Points: 25    Category: ASP.NET    URL: http://www.dotnetspark.com  

In this article i will describe why we should avoid opening links in new window.

Following are some situation in which we should avoid opening links in new windows.

    1.you should avoid forcing links to open in a new window or pop ups using JavaScript as you might know Java Script is not supported by all browsers or some users might disable it.

    2.Opening a link in a new window also breaks the back button on the browser, so you won't be able to track navigation.

    3.Opening link in a new window is almost supported by all browser so its better to let user decide weather to open a new window or not.

    4.web users are likely to expect the new page to load in the current window so opening a new window might be surprise for them , also there are some cases when opened window lost like (while pressing ALT+TAB) so user wont be able  to know which window is opened.

But there are situation when we need to open link in new window like .

    The link is for a document, such as a PDF or a Word document or image file which is large in size so the document or image will download in the background and user will browse the site without any pause.

 Subscribe to Articles


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend