This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 5e8c566eda71608fe4f270cbc2642eea70a70faa
tree 0fa2e9dbbf648c8c23095ab1ad134296e4a81357
parent 3e199d2581bbac8417baad80e381e5c277b332c6
tree 0fa2e9dbbf648c8c23095ab1ad134296e4a81357
parent 3e199d2581bbac8417baad80e381e5c277b332c6
olapi / openbook
| name | age | message | |
|---|---|---|---|
| .. | |||
| |
Readme.md | ||
| |
openbook.css | ||
| |
openbook.js |
openbook/Readme.md
openbook.js
openbook.js is a pure javascript implementation of John Miedema's OpenBook wordpress plugin.
It uses Open Library Books API to get all the required data with a single AJAX request.
How to use
Include jquery.js and openbook.js javascripts and openbook.css stylesheet in head of the html.
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="http://openlibrary.org/static/openbook/openbook.js"></script>
<link rel="stylesheet" type="text/css" href="http://openlibrary.org/static/openbook/openbook.css"/>
And add a div with class openbook with booknumber attribute set to isbn of the required book.
<div class="openbook" booknumber="9780864924933"></div>








