|
![]() |
#1 |
Member
Join Date: Jan 2005
Location: Los Angeles, Ca.
Posts: 942
|
![]() 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 |
![]() |
![]() |
![]() |
#2 |
Member
Join Date: Oct 2007
Location: Calgary, Alberta, Canada
Posts: 824
|
![]()
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 |
![]() |
![]() |
![]() |
#3 | |
Founding Sysop
Join Date: Oct 2004
Location: In Connecticut, on the Housatonic River near its mouth at Long Island Sound.
Posts: 11,187
|
![]() Quote:
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] |
|
![]() |
![]() |
![]() |
#4 |
Staff
Join Date: Oct 2004
Location: Llanwrtyd Wells
Posts: 1,450
|
![]()
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> |
![]() |
![]() |
![]() |
#5 |
Member
Join Date: Oct 2005
Location: Amsterdam, NL
Posts: 4,894
|
![]()
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 ![]() Occasionally I am also connecting online dots... and sometimes you can follow me on Marjolein's Travel Blog |
![]() |
![]() |
![]() |
#6 |
Sysop
Join Date: Oct 2004
Location: Subtropical Queensland, Australia, between the mountains and the Coral Sea
Posts: 4,592
|
![]()
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.
__________________ ![]() |
![]() |
![]() |
![]() |
#7 |
Member
Join Date: Apr 2007
Location: London
Posts: 451
|
![]()
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. |
![]() |
![]() |
![]() |
#8 |
Sysop
Join Date: Oct 2004
Location: Subtropical Queensland, Australia, between the mountains and the Coral Sea
Posts: 4,592
|
![]()
Which version? I'm using Acrobat Pro 8.1.1 and get a black rectangle with a logo in the middle.
__________________ ![]() |
![]() |
![]() |
![]() |
#9 | |
Staff
Join Date: Oct 2004
Location: Llanwrtyd Wells
Posts: 1,450
|
![]() Quote:
I do wish I hadn't upgraded to the latest Acrobat -- it has a clunkier interface and loads more slowly than earlier versions. |
|
![]() |
![]() |
![]() |
#10 | |
Member
Join Date: Jan 2005
Location: Ipswich (the one in England)
Posts: 5,105
|
![]()
Mike:
Quote:
__________________ Michael |
|
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How insert images automatically | ktinkel | Web Design | 12 | 09-25-2006 06:32 AM |
Insert Photos Report | Franca | How to Use the Forum | 0 | 09-30-2005 10:31 AM |
Pagemaker 7 Batch Insert Lots of Pics???? | agentjk | Print Design | 6 | 06-21-2005 01:29 PM |