Anansi Stories

This is a randomizer for the book Tiny Tales of Anansi. You can see the widget in action here; reload for a new story at random. You can get the widget code below.





You can copy and paste this code wherever javascript can be used (Blogger is very javascript-friendly, for example, so the widgets work just fine here).

Here is the code for a randomizer at 400 pixels wide:

<script type="text/javascript"> var display = " " </script><script src="https://anansi.lauragibbs.net/widget400.js" type="text/javascript"></script>

Here is the code for a randomizer at 200 pixels wide:

<script type="text/javascript"> var display = " " </script><script src="https://anansi.lauragibbs.net/widget200.js" type="text/javascript"></script>

The script in this post is the 400-pixel-wide version; in the blog sidebar you can see the 200-pixel-wide version.


No comments:

Post a Comment

Due to a recent spam outbreak, I've had to switch to moderated comments for now.