Welcome to WebmasterWorld Guest from 23.22.140.143

Forum Moderators: incrediBILL

Message Too Old, No Replies

Browser Setting to Open New Window for PDF's

     
8:00 pm on Sep 5, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 16, 2002
posts:2133
votes: 1


Is there a way to default PDF's opening in a new window in either IE, Opera or FF? - PDF's only that is, all else in current window?
10:32 pm on Sept 5, 2005 (gmt 0)

New User

10+ Year Member

joined:Sept 5, 2005
posts:9
votes: 0


Could you not simply use a bit of javascript in the a href pdf tags? (i.e. <a href="whatever.pdf" target="_blank">View PDF</a>
10:36 pm on Sept 5, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 13, 2004
posts:1425
votes: 0


I thought pdf displays automatically opened in a new window. Silly me. -LH
11:15 pm on Sept 5, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 16, 2002
posts:2133
votes: 1


A bit of clarification, yes indeed PDF's open in a new window if the link is structured that way with JavaScript.

The problem that aggravates me is when a large PDF opens in the current window, which I believe is default, as with most links.

Except for a Kill Task, there does not seem a way to interrupt the download process. And if you kill the task you lose your place in browser history, so no going back to what originally led you to the PDF.

I always add the new window code to PDF links but a G search that yields PDF's does not and it is these that can cause me the problem. So, it would be nice if you could set PDF's to always open in a new window irrespective of the actual link code.

11:26 pm on Sept 5, 2005 (gmt 0)

Preferred Member

10+ Year Member

joined:July 8, 2005
posts:460
votes: 0


FF-
Maybe - Tools/options/Advanced/Tabbed browsing/other apps...

dcrombie

1:58 pm on Sept 6, 2005 (gmt 0)

Inactive Member
Account Expired

 
 


The problem with setting PDF's to open in a new window is that without a browser plug-in you end up with a blank window that needs to be closed to get back to the site.
4:34 pm on Sept 6, 2005 (gmt 0)

Full Member

10+ Year Member

joined:Dec 10, 2001
posts:254
votes: 0


When I'm using a tabbed browser (Firefox, Opera, Avant, Maxthon. . . ), is MIDDLE click links to open them in a new tab (which I believe is the default behavior for several of these browsers). An ordinary left-click will still open the link in the current tab.

If for some reason you don't prefer that method, couldn't you simply right-click the link and choose "open in new window" (or tab if you prefer in browsers that allow it)? Sure it's not as convenient, but it should work with ALL browsers and not interfere with your preference to open most links in the calling window.