You are here: Re: open pdf files into the browser « HTML « IT news, forums, messages
Re: open pdf files into the browser

Posted by Jonathan N. Little on 10/23/07 16:44

alessandro.bernardini.1979@gmail.com wrote:
> I want to create an html files with links to other html files AND to
> pdf files and I want that some html links are related to some pdf
> links.
>
> And I want that clicking an html links displays the html file in the
> upper part of the browser AND the pdf file in the lover part (with
> acroread naturally)...
>
> Exemple:
>
> Clicking on firstlink displays
>
> firstlink.thml (in the upper part of the browser)
> firstlink.pdf (in the lower part of the browser,
> automatically).
>
> How can i do this ?

Yes you *can* in an object element but the real question is *should*
you. I would say no, because PDFs are significantly larger then their
HTML counterparts. It would be as bad as having a HUGE image on your
page...either use HTML or just link to the PDF and give a reference to
the size of the file for users...

<a href="some.pdf">Some PDF Document (350Kb)</a>

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация