Announcement

Collapse
No announcement yet.

PDF in fragment

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

    PDF in fragment

    Hi folks

    I was thinking this would be easy, but I think I've probably been staring at it for too long so no doubt have missed something blindingly obvious. Been round and round the forum and KB, but I'm no further forward.

    I've never had a problem with embedding videos, but I'm trying to create a page of PDFs that customers can click on and print/view/whatever. What will hopefully become a library of PDFs will be linked to from other areas of the site (well, that's the plan if I can get the 1st one to work!).

    I've created a fragment set to text only, used this code from the forum:

    !!<<a href="javascript:ShowPopUp('myfile.pdf',500,600)" <img src="image.jpg"></a>>!!

    It displays on the live site fine, and when clicked the pop up works and displays the correct PDF file (using Firefox - haven't got as far as IE).

    BUT it kills the site (so I've had to hide the section til I figure out what I've done wrong) - just a plain white page shows underneath the pop up with the word "false". If you close the pop up, the white page remains unless you click on the browser's back button. I've tried with and without an advanced link (as per KB), but this makes no difference.

    Any thoughts?

    Cheers - Helen

    #2
    See post 4: http://community.actinic.com/showthread.php?t=47608
    Peblaco

    Comment


      #3
      Thank you worked a treat.

      Helen

      Comment

      Working...
      X