Opening PDFs in a New Window with JavaScript

Submitted by DeveloperTutorials.com » Opening documents such as PDFs in a new window should be automated using JavaScript for the following reasons. Users will often close the web browser when a PDF is opened, mistakenly believing the document has been opened in Adobe Reader, the attribute historically used to open a new window, target, has been removed from the HTML 4.01 Strict specification (it's now deprecated), opening a new window is a behaviour and should be moved to the behavioural layer.
Rating: 3.5/5 | 287 clicks | 0 comments | 1 save | share | report

Additional statistics

Average rating: 3.50/5.0
Clicks today: 0
Clicks this month: 16
Clicks total: 287
Number of comments: 0
Number of saves: 1