PDA

View Full Version : Display a PDF



Rez
01-10-2009, 02:36 PM
Hi everyone,

I'd like to display a single page pdf on one of my web pages, is this possible?

Thanks

D'son
01-10-2009, 02:38 PM
Yes, there are a couple of ways to do it, the most simple is to upload the file to your server and link to it using this format yoursite.com/filename.pdf (Have it open in a new window)

Rez
01-10-2009, 02:53 PM
Thanks D'son, i want to capture the visitors email before i display the PDF, so would it work if i made the contact form's thankyou page URL "mysite.com/filename.pdf" ?

Additionally, could a link be put in the pdf to allow the visitor to continue browsing my site?

D'son
01-10-2009, 02:59 PM
No, i would just put a link to the file on your thank you page. And I have done the navagation to and from forms a couple of different ways. First I had the form open in its own window (no navagation) as well as the success and error pages. This way they can just close the window when they are done. Second I created the form page with full navagation (opens in the same window) to and from as well as the success and error pages so they can go anywhere at any time. Either way works, its up to you.

Rez
01-10-2009, 03:15 PM
Thanks for your help D'son.

D'son
01-10-2009, 06:03 PM
Your welcome.

Andy128
01-11-2009, 02:37 PM
Rez,

You could have the thankyou page the pdf file you wish them to see and also have a link back to your site.............but not in the manner you think.

What I would do in this case is create a thankyou page with a large I-Frame in it- with the link back to your site at the top. Then have the pdf file populate in the Iframe.

Just a work around -

Andy

LadyEye
01-11-2009, 06:25 PM
or you could try this method to embed a pdf on your webpage (http://www.bluevodadesigner.com/embeded_pdf_tutorial.html)

Andy128
01-11-2009, 06:39 PM
Ladyeye-

Very cool indeed. Yet another way to skin a cat!!!!

By the by- what program do you use for your tutorials- they are fantastic.

Andy

LadyEye
01-11-2009, 06:44 PM
Ladyeye-

Very cool indeed. Yet another way to skin a cat!!!!

By the by- what program do you use for your tutorials- they are fantastic.

Andy

Hi Andy ... nice to see you .. yes, it's a good one ... Alien Dude has joined the team of Blue Voda Designers and is preparing lots of neat tutorials!! I could ask him, but I think he uses alot of crayons, LOL ....

We will be adding them here as well as on Blue Voda Chat (http://www.bluevodachat.com)

Andy128
01-11-2009, 06:47 PM
Ok- cool. I'll probably email him and ask.

Cheers-

Andy

LadyEye
01-11-2009, 06:49 PM
Ok- cool. I'll probably email him and ask.

Cheers-

Andy


KK.. be sure to tell him you are coloring .. LOL

Rez
01-20-2009, 07:41 PM
or you could try this method to embed a pdf on your webpage (http://www.bluevodadesigner.com/embeded_pdf_tutorial.html)

LadyEye thats awesome, just what i was after, thank you.

I've managed to get it working...almost.

I wrote down the html code you pasted into the html box in your tutorial and typed into an html box, adjusting to suit my needs, and it has worked, although no matter how high i set the page to be in the html code, the pdf that appears on my published page is still too short to display the entire pdf, as you can see here (http://www.sprintflyer.com/pricesthankyou.html#)

Can you see why this has happened, and how to fix it?

Thanks very much

Simon

D'son
01-20-2009, 08:40 PM
Hi Simon
Not sure about the method Lady Eye recommends but I do it using an I-Frame. Same concept except you can simply drag the i-frame to the size you want. Just type the link to the pdf in the properties/url. Here is an example.
http://www.marseillesyouthsports.com/pdf_test.php

LadyEye
01-20-2009, 09:38 PM
LadyEye thats awesome, just what i was after, thank you.

I've managed to get it working...almost.

I wrote down the html code you pasted into the html box in your tutorial and typed into an html box, adjusting to suit my needs, and it has worked, although no matter how high i set the page to be in the html code, the pdf that appears on my published page is still too short to display the entire pdf, as you can see here (http://www.sprintflyer.com/pricesthankyou.html#)

Can you see why this has happened, and how to fix it?

Thanks very much

Simon

width="788"height"3300 -------> this should be width="788" height="3300"

D'son
01-20-2009, 09:43 PM
Holly, is there an advantage in using an html box over an i-frame? Does one load faster than the other?

LadyEye
01-20-2009, 09:56 PM
umm .. well used to be some browsers had difficulty supporting iframes .. so .. that might be something to consider ..