Announcement

Collapse
No announcement yet.

PDF popup window code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    PDF popup window code

    Does anyone know the correct code to use in order to make a PDF in a popup window and/or new tab please

    I have several PDF files, so the second one below allows you to download the file, and the one at the bottom replaces the website page into the PDF file, like over writes the website page making the user having to click the back button to go back to the website

    I'm just wanting to make my files either go to a separate window or a popup and I'm stuffed

    I did try this code and whilst it does create a popup file which is great, it also throws out my website
    Hope this makes sense

    Thanks

    !!<<a href="javascript:ShowPopUp('/acatalog/My_file_called_kev.pdf', 500, 600);"> Manual <img src="pdf-logo.png" border="0"></a>>!!


    !!<<a href="/acatalog/My_file_called_kev.pdf">Manual <img src="pdf-logo.png" border="0"></a>>!!

    !!<<a href="/acatalog/My_file_called_kev.popup.pdf">Manual <img src="pdf-logo.png" border="0"></a>>!!

    #2
    Have you tried:

    !!<<a href="/acatalog/My_file_called_kev.pdf" target="_blank">Manual <img src="pdf-logo.png" border="0"></a>>!!

    Comment


      #3
      ok, ok, Mr R

      you win

      Perfection and thank you for taking the time. I do have a few other questions which will follow

      Thanks very much Duncan as always

      Comment

      Working...
      X