Team:SMTexas/trialbook
From 2014hs.igem.org
(Difference between revisions)
(Created page with "<html> <link rel="stylesheet" type="text/css" href="https://2014hs.igem.org/Template:SMTexas/CSSbook?action=raw&ctype=text/css"> <script src="https://2014hs.igem.org/...") |
|||
Line 4: | Line 4: | ||
<script src="https://2014hs.igem.org/Template:SMTexas/JSbook?action=raw&ctype=application/javascript"></script> | <script src="https://2014hs.igem.org/Template:SMTexas/JSbook?action=raw&ctype=application/javascript"></script> | ||
+ | <div id="mybook"> | ||
+ | <div> | ||
+ | <h3>Yay, Page 1!</h3> | ||
+ | </div> | ||
+ | <div> | ||
+ | <h3>Yay, Page 2!</h3> | ||
+ | </div> | ||
+ | <div> | ||
+ | <h3>Yay, Page 3!</h3> | ||
+ | </div> | ||
+ | <div> | ||
+ | <h3>Yay, Page 4!</h3> | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | <script> | ||
+ | $(function() { | ||
+ | //single book | ||
+ | $('#mybook').booklet(); | ||
+ | |||
+ | //multiple books with ID's | ||
+ | $('#mybook1, #mybook2').booklet(); | ||
+ | |||
+ | //multiple books with a class | ||
+ | $('.mycustombooks').booklet(); | ||
+ | }); | ||
</html> | </html> |
Latest revision as of 19:06, 16 June 2014