TechSpott - Computer and technology forums

Go Back   TechSpott - Computer and technology forums > Webmasters > Design & Developmet > HTML & CSS
HTML & CSS Place to talk about website design and get help with HTML, CSS, DHTML, etc.

Reply
 
Thread Tools Display Modes
Old April 4th, 2010, 02:49 AM   #1 (permalink)
Amarjit
Guest
 
Posts: n/a
Default I am making a css-html based website and i want to insert a pdf in it.?

Instead of just putting a link how can i have a free pdf viewer in it which will allow the viewers to view the pdf in the website itself. Is there any specific code? Will it be compatible with all?
  Reply With Quote Share with Facebook
Old April 4th, 2010, 02:49 AM   #2 (permalink)
LsD
TechSpott Newbie
 
Join Date: Apr 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
LsD is an unknown quantity at this point
Default

Embeddable Google Document Viewer
Google Docs offers an undocumented feature that lets you embed PDF files and PowerPoint presentations in a web page. The files don't have to be uploaded to Google Docs, but they need to be available online.

Here's the code I used to embed the PDF file:

<iframe src="http://docs.google.com/gview?url=http://infolab.stanford.edu/pub/papers/google.pdf&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>

but you should replace the bold URL with your own address. As I mentioned, the document viewer works for PDF and PPT files.

Some other sites that offer similar features: Zoho Viewer, PdfMeNot.

Update (Sept. 25): The viewer is now available at https://docs.google.com/viewer. You can use it to embed PDF documents, PowerPoint presentations, and TIFF files.
LsD is offline   Reply With Quote Share with Facebook
Reply

Bookmarks

Tags
based, csshtml, insert, making, pdf, website


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
what is a good free website builder for people who already know css, html? guitar3331 HTML & CSS 0 April 2nd, 2010 01:55 AM
Apple patches Safari vulnerabilities ahead of Pwn2Own amitash News 0 March 12th, 2010 03:27 PM
Use flash components to make your website attractive Gonzalaze Design & Developmet 0 March 8th, 2010 04:23 AM

 
Forum Stats
Members: 14,375
Threads: 20,384
Posts: 27,874
Total Online: 43

Newest Member: AAccedlyGolo

Latest Threads

Advertisements

Support our advertisers!

Amazon
Sears
Macys
1800flowers.com
Drugstore.com


Carbonite Online-Backups
Tiger Direct
Tech Depot
Buy.com
Office Depot
Fatcow
HostGator


TripsNow.us
Marriott
Expedia
CheapTickets.com
OneTravel
Hotwire

Are you a Fan?

Share this on Facebook

Tag Cloud

Partner Links


Contact Us - Home - Archive - Privacy Statement - Top - Copyright © 2009-2010, TechSpott - All times are GMT -4. Time is 09:10 PM

Powered by vBulletin® Copyright © Jelsoft Enterprises Ltd. :: SEO by vBSEO