View files using the Google Docs viewer
Enter in the above box the URL of: PDF / TIFF / Power Point
Source code
<form xmlns="http://www.w3.org/1999/xhtml" action="http://docs.google.com/viewer" method="get">
Get action type to append form data to the end of the action URL File URL:
<input name="url" type="text" id="fileurl" value="http://" /><br> Add to the end of the action URL: ?url=[text] where [text] is the value entered by the user Embedded viewer:
<input type="checkbox" name="embedded" value="true"><br> Shows a checkbox, currently unchecked, if checked will add &embedded=true currently adds nothing, value=[] indicates what will be send if checked <input type="submit" value="View" /> <input type="reset" /> </form> |
