In bed with PDF

Default method: Open with object/embed with class fancybox-pdf
permalink: http://demo.status301.net/easy-fancybox-sandbox/pdf-embeds/#link1

<a class="fancybox-pdf" id="link1" href="http://downloads.free-jazz.net/files/2009/05/WoodenGun-EBookSample.pdf" rel="pdf-gallery">Open with object/embed with class fancybox-pdf</a>

Alternative method 1: Open in iFrame with class fancybox-iframe
permalink: http://demo.status301.net/easy-fancybox-sandbox/pdf-embeds/#link2

<a class="nofancybox fancybox-iframe" id="link2" href="http://downloads.free-jazz.net/files/2009/05/WoodenGun-EBookSample.pdf#toolbar=0&navpanes=0&nameddest=self&page=1&view=FitW,0&zoom=100,0,0">Open in iFrame with class fancybox-iframe</a>

Alternative method 2: Open in iFrame with Google Docs Viewer
permalink: http://demo.status301.net/easy-fancybox-sandbox/pdf-embeds/#link3

<a class="nofancybox fancybox-iframe" id="link3" href="https://docs.google.com/gview?url=http%3A%2F%2Fwww.adobe.com%2Fdevnet%2Facrobat%2Fpdfs%2Fpdf_open_parameters.pdf&embedded=true">Open in iFrame with Google Docs Viewer</a>

Permalinks

Using this code to enable permalinks:

<script type="text/javascript">
window.onload = function() {
if(location.hash) { jQuery(location.hash).trigger('click'); }
};
</script>

2 thoughts on “In bed with PDF

  1. Jeromin

    Hello,

    I have a problem with that !
    It worked perfectly 1 week ago, then I had a compatibility problem and now it doesn’t work anymore…
    http://www.starbasket.fr/photos-des-camps/camps-2011/la-baule-3/#143
    It keeps open the first image even if an #ID is given through the url !
    (WordPress + NextGen Gallery + Easy-fancybox)
    Do you have any idea ?
    I change the NGG effect with class fancybox, rel gallery and id fancybox-auto and add the script in the footer…

    Thanks for your help 😉

Comments are closed.