[FM Discuss] example embedded book stores

adam hyde adam at flossmanuals.net
Sat Oct 25 20:35:43 PDT 2008


hi,

the following are examples:

Display Inkscape manual
The following displays only the Inkscape manual with paging turned off.


<img src="http://en.flossmanuals.net/bookstore/bookstore.gif"/>
<style>
  @import url("http://en.flossmanuals.net/bookstore/bookstore.css");
</style>
 <script src="http://en.flossmanuals.net/bookstore/bookstore.js" type="text/javascript"></script>
 <script type="text/javascript">
     FM.init({"paging":false,"preferred":["Inkscape"]});
 </script>


If you wish to display specific manuals you need to state the exact
title with the correct capitalisation. The current manuals available
are :

      * Inkscape
      * FLOSS Manuals
      * OLPC LAPTOP USERS GUIDE
      * SUGAR USERS GUIDE


Display 2 Specific Manuals
The following displays the OLPC and Sugar manuals only with a "MORE
BOOKS>>" button.


<img src="http://en.flossmanuals.net/bookstore/bookstore.gif"/>
<style>
  @import url("http://en.flossmanuals.net/bookstore/bookstore.css");
</style>
 <script src="http://en.flossmanuals.net/bookstore/bookstore.js" type="text/javascript"></script>
 <script type="text/javascript">
   FM.init({"paging":true,"preferred":["OLPC LAPTOP USERS GUIDE","SUGAR USERS GUIDE"]});

 </script>


Display Random Slideshow
The following displays three items in a random slideshow with a 7 second
delay and no paging.


<img src="http://en.flossmanuals.net/bookstore/bookstore.gif"/>
<style>
  @import url("http://en.flossmanuals.net/bookstore/bookstore.css");
</style>
 <script src="http://en.flossmanuals.net/bookstore/bookstore.js" type="text/javascript"></script>
 <script type="text/javascript">
     FM.init({"show":"random","items":3,"slideshow":true,"timeout":7,"paging":null});
 </script>


-- 
Adam Hyde
Founder FLOSS Manuals
http://www.flossmanuals.net




More information about the Discuss mailing list