A web-based ghost Browser

Source: Internet
Author: User

Have you ever thought about displaying a PDF file on a web page as a tag? Look at the tool provided by vuzit.com.

Vuzit is a web-based universal office document viewer you can embed in any web page to help maintain consistent branding and site navigation. It provides document security and increases revenue by improving accessibility and user experience.

The following is the core code for displaying a PDF file:

<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Strict // EN"
Http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd>
<Html xmlns = "http://www.w3.org/1999/xhtml" xmlns: v = "urn: schemas-microsoft-com: vml">
<Head>
<Meta http-equiv = "Content-Type" content = "text/html; charset = UTF-8"/>
<Title> Vuzit Basic Viewer Example </title>
<Link href = "http://vuzit.com/stylesheets/Vuzit-2.1.css" rel = "Stylesheet" type = "text/css"/>
<Script src = "http://vuzit.com/javascripts/Vuzit-2.1.js" type = "text/javascript"> </script>

<Script type = "text/javascript">
// Called when the page is loaded.
Function initialize (){

Vuzit. Base. apiKeySet ("VuzitDemo ");
Var viewer = new vuzit. Viewer (document. getElementById ("vuzit_viewer "));
Viewer. setUrl ("http: // 202.38.64.10 /~ Zhouq/doc/ws2008.pdf ", {zoom: 1, page: 2 });
}
</Script>

</Head>
<Body onload = "initialize ()">
<Div id = "vuzit_viewer" style = "width: pixel PX; height: 500px;"> </div>
</Body>
</Html>

For details, refer to the following:
Vuzit.com official
PDF file demonstration

PS: several things that may be used are recommended:
A time picker Based on Mootools)
ASPhere -- a good web. config Editor
DhtmlxVault-firefox download Style File Upload Control

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.