Skip to content

Instantly share code, notes, and snippets.

@laspluviosillas
Created September 18, 2014 16:27
Show Gist options
  • Save laspluviosillas/087d177b7d584a7e9deb to your computer and use it in GitHub Desktop.
Save laspluviosillas/087d177b7d584a7e9deb to your computer and use it in GitHub Desktop.
box.com HTML viewer debug.
<!DOCTYPE html>
<html>
<body>
<link rel="stylesheet" href="crocodoc.viewer.min.css" />
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="crocodoc.viewer.min.js"></script>
<div class="viewer" style="height: 400px"></div>
<script type="text/javascript">
var viewer = Crocodoc.createViewer('.viewer', {
url: 'https://view-api.box.com/1/sessions/3c6abc0dcf35422e8353cf9c27578d5c/assets/'
});
viewer.load();
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment