DTP


 
Lively discussions on the graphic arts and publishing — in print or on the web


Go Back   Desktop Publishing Forum > General Discussions > Web Design

Reply
 
Thread Tools Display Modes
Old 01-11-2008, 09:11 AM   #1
BobRoosth
Member
 
Join Date: Jan 2005
Location: Los Angeles, Ca.
Posts: 933
Default Insert PDF in site

One of my clients is an immigration attorney. He asked me how to do what one of his competitors does. The link follows. I don't like this implementation for at least two reasons: it uses frames and it only works as designed in IE.

But is there a good way to display a PDF while retaining a back link to the referring web site?

From Subject Received Size
Curtis Pierce Linking to pdf files and keeping it on the site.

http://www.shusterman.com/cgi-bin/ex...s/form/i-9.pdf
BobRoosth is offline   Reply With Quote
Old 01-11-2008, 09:28 AM   #2
Howard Allen
Member
 
Howard Allen's Avatar
 
Join Date: Oct 2007
Location: Calgary, Alberta, Canada
Posts: 824
Default

Quote:
Originally Posted by BobRoosth View Post
But is there a good way to display a PDF while retaining a back link to the referring web site?
I know nothing about web design, and this may not be "a good way," but you could, of course, place a link in the PDF itself that would jump back to the original web page.

   
__________________
Howard

OSX 10.10.5
Howard Allen is offline   Reply With Quote
Old 01-11-2008, 09:55 AM   #3
ktinkel
Founding Sysop
 
ktinkel's Avatar
 
Join Date: Oct 2004
Location: In Connecticut, on the Housatonic River near its mouth at Long Island Sound.
Posts: 11,189
Default

Quote:
Originally Posted by BobRoosth View Post
[LEFT]One of my clients is an immigration attorney. He asked me how to do what one of his competitors does. The link follows. I don't like this implementation for at least two reasons: it uses frames and it only works as designed in IE.

But is there a good way to display a PDF while retaining a back link to the referring web site?
Dunno. Bet that one of the others here will some ideas.

It doesn’t work at all in Safari (which normally handles PDFs directly and very well), and in Firefox invites me to download and open the PDF.

I didn’t look at the content, but wonder if it is really something that needs to be in a PDF at all. Inserting PDFs into a web site is rarely elegant, and often problematic.

   
__________________
[SIZE=2][COLOR=LemonChiffon]::[/COLOR][/SIZE]
[SIGPIC][/SIGPIC]
ktinkel is offline   Reply With Quote
Old 01-11-2008, 10:28 AM   #4
Mike
Staff
 
Mike's Avatar
 
Join Date: Oct 2004
Location: Llanwrtyd Wells
Posts: 1,450
Default

Works OK in my Safari.

The page is a frameset with the site banner in the top frame and the pdf loaded into the bottom frame.


Code:
<HTML>
<! -- EX-LINK.HTML 10/21/00 CS-->
<TITLE>The Law Offices of Carl Shusterman</TITLE>
 
<frameset ROWS="95,*">
<frame SRC="http://www.shusterman.com/ad.html" SCROLLING="no" BORDER=0 FRAMEBORDER="no" NORESIZE NAME="top" TARGET="_top">
 
<frame SRC="http://www.uscis.gov/files/form/i-9.pdf" BORDER=0 FRAMEBORDER="no"  NORESIZE NAME="bottom" TARGET="_top">
 
</frameset>
</html>

   
__________________
Mike

www.welshframing.com
Mike is offline   Reply With Quote
Old 01-11-2008, 10:29 AM   #5
iamback
Member
 
iamback's Avatar
 
Join Date: Oct 2005
Location: Amsterdam, NL
Posts: 4,894
Default

It may not be an elegant solution, but I don't see anything there that would make it not work in other browsers than IE. And it seems to work just fine in Firefox.

Since the PDF is not their own, embedding a link in it is obviously not a solution. The first thing to ask yourself (or the US government!) is whether it is even allowed to embed their document in your own site like this - or in any way.

If it is allowed, the alternative to using frames like this is to embed it in a page, either using an iframe or using an object tag. Both make bookmarking the PDF harder, if not impossible (using object) - which may be seen as either an advantage or a disadvantage.

If you want to avoid this type of embedding (either because it's not allowed or because of the bookmarkability drawbacks), all that's left is a plain link. You could add a target attribute to that link (make sure you use a Transitional or Frameset Doctype in that case), that way you can make the link to open by default in a speparate browser window. If you do use a target attribute, make sure to add a description to the link warning the users that it will open in a new window (they can override this depending on their browser and how they use its features). If you don't use target attribute (some people get confused by this, especially when using the browser full-screen, add a note that they can get back to the original page by using their browser's Back button (they can't when it opens in a new window: in that case they can get back only by closing the new window - you might want to mention that as well in case you go for a target attribute on the link).

   
__________________
Marjolein Katsma
Look through my eyes on Cultural Surfaces (soon!), My ArtFlakes shop and Flickr.
Occasionally I am also connecting online dots... and sometimes you can follow me on Marjolein's Travel Blog
iamback is offline   Reply With Quote
Old 01-11-2008, 12:26 PM   #6
annc
Sysop
 
annc's Avatar
 
Join Date: Oct 2004
Location: Subtropical Queensland, Australia, between the mountains and the Coral Sea
Posts: 4,436
Default

In Safari under Leopard it tries to open the PDF but gives the black rectangle with the Acrobat logo in the middle which is (currently) normal when trying to display a PDF from any site.

   
__________________
annc is offline   Reply With Quote
Old 01-12-2008, 07:50 AM   #7
Benwiggy
Member
 
Join Date: Apr 2007
Location: London
Posts: 451
Default

Works for me fine in Leopard with Safari:
Frame at the top displays advert and links; PDF follows below.

The question is whether you would want to display the form, rather than just download or print it.
Benwiggy is offline   Reply With Quote
Old 01-12-2008, 12:01 PM   #8
annc
Sysop
 
annc's Avatar
 
Join Date: Oct 2004
Location: Subtropical Queensland, Australia, between the mountains and the Coral Sea
Posts: 4,436
Default

Quote:
Originally Posted by Benwiggy View Post
Works for me fine in Leopard with Safari
Which version? I'm using Acrobat Pro 8.1.1 and get a black rectangle with a logo in the middle.

   
__________________
annc is offline   Reply With Quote
Old 01-13-2008, 03:43 AM   #9
Mike
Staff
 
Mike's Avatar
 
Join Date: Oct 2004
Location: Llanwrtyd Wells
Posts: 1,450
Default

Quote:
Originally Posted by annc View Post
Which version? I'm using Acrobat Pro 8.1.1 and get a black rectangle with a logo in the middle.
Are you waiting for it to load? I think I get that (a sort of spinning wheel-like thingy) before the pdf displays.

I do wish I hadn't upgraded to the latest Acrobat -- it has a clunkier interface and loads more slowly than earlier versions.

   
__________________
Mike

www.welshframing.com
Mike is offline   Reply With Quote
Old 01-13-2008, 07:54 AM   #10
Michael Rowley
Member
 
Join Date: Jan 2005
Location: Ipswich (the one in England)
Posts: 5,105
Default

Mike:

Quote:
I do wish I hadn't upgraded to the latest Acrobat -- it has a clunkier interface and loads more slowly than earlier versions
It's much better not to rely on Acrobat merely for reading existing PDF files: download Adobe Reader, which opens faster.

   
__________________
Michael
Michael Rowley is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How insert images automatically ktinkel Web Design 12 09-25-2006 07:32 AM
Insert Photos Report Franca How to Use the Forum 0 09-30-2005 11:31 AM
Pagemaker 7 Batch Insert Lots of Pics???? agentjk Print Design 6 06-21-2005 02:29 PM


All times are GMT -8. The time now is 03:10 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Contents copyright 2004–2014 Desktop Publishing Forum and its members.