Thursday 19 January 2012

Single book widget (iframe)

Status: Beta
Method: Iframe
Type: Single Book Widget
Link: http://www.smashingreads.com/widget_singlebook.php

The Single Book Widget is also available in javascript, but this will focus on the iframe version. It is designed to display a single book with a limited amount of interactivity.

Functionality:
Top Bar:
I shows the cover
II shows the title and author
III shows a short description and "More" link. The link opens the book's Smashwords page in a new window.
The Smashwords logo takes you to the Smashwords homepage.
On Mouse over, the orange cross launches an addthis display for social bookmarking - the bookmarks created lead to the book's Smashwords page, rather than the widget.

Bottom
The blue arrow launches the book's HTML sample (in a new window).
The Magnifying glass goes to the book's Smashwords page (in a new window).
The Cart goes to the Smashwords shopping cart (in a new window).

This widget does contain a referral link, to help offset the bandwidth costs.

The iframe version preserves the widget's formatting on pages like blogspot, where the website's own layout may interfere with javascript.

No comments:

Post a Comment