Click here to Skip to main content
Click here to Skip to main content

Free scribd automation JavaScript

, 17 May 2009
Rate this:
Please Sign up or sign in to vote.
Visualizes doc and PDF on the fly to iPaper by scribd.

Introduction

This free JavaScript will find all links to PDF or doc files. It adds an additional link. On rollover, the new link will create a floating div with an iPaper visualisation of the document on the fly.

Users don't have to download a file before they see its contents.

Using the code

Copy the code into the body section of your webpage. The script will find and visualize the download links. The script uses jquery and scribd API:

<script src="http://code.jquery.com/jquery-latest.js" 
  type="text/javascript"></script>
<script src="http://ui.jquery.com/latest/ui/ui.core.js"></script>
<script src="http://ui.jquery.com/latest/ui/ui.draggable.js"></script>

<script src="http://www.tdv.ch/api.js" type="text/javascript"></script>
<script type="text/javascript"> 
  jQuery.noConflict();
  jQuery(document).ready(function(){
  createDocViewer();
});
</script>

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

starlight71

Switzerland Switzerland
No Biography provided

Comments and Discussions

 
GeneralMy vote of 1 Pinmembermanojsitapara7-Jan-10 0:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web03 | 2.8.140821.2 | Last Updated 17 May 2009
Article Copyright 2009 by starlight71
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid