1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

JavaScript: Opening PDFs in a New Window with JavaScript

  1. Clicks today:
    0
  2. Clicks this month:
    0
  3. Overall rating:
    3.50/5

JavaScript » Windows and Frames — over 9 years ago
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.

Comments

Your Comment

You must be logged in to post a comment.