Skip to content

Instantly share code, notes, and snippets.

View bmatzelle's full-sized avatar

Brent Matzelle bmatzelle

View GitHub Profile
@bmatzelle
bmatzelle / gist:173337
Created August 23, 2009 15:54
Vuzit on page changed example
<!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 On Page Changed Example</title>
<link href="http://vuzit.com/stylesheets/Vuzit-2.7.css" rel="Stylesheet" type="text/css" />
<script src="http://vuzit.com/javascripts/Vuzit-2.7.js" type="text/javascript"></script>
<script type="text/javascript">
@bmatzelle
bmatzelle / gist:169277
Created August 17, 2009 18:01
Vuzit full screen example snippet
<script type="text/javascript">
// Once the page is loaded call this.
function pageLoaded() {
// Replace with your public key
vuzit.Base.apiKeySet("YOUR_PUBLIC_KEY");
// Replace with the document you are loading
var viewer = vuzit.Viewer.fromId("DOCUMENT_ID");
viewer.display(document.getElementById("viewer"), { zoom: 1, showFullScreen: true });