Classic Bookshelf gives you readable electronic books.

Enjoy Free
Classics

 Site Map > eBook Hosting > Code Nav Bar: what's this? 

Copy this code exactly as it appears here and paste it into your web page.

<!-- A Pair of Blue Eyes -->
<!-- By Thomas Hardy -->
<applet code="reader.class"
        archive="reader.jar"
        codebase="http://www.classicbookshelf.com/applets/host/"
        width="233" height="144">
 <param name="a" value="e3656d61696c206164647265737326">
 <param name="b" value="412050616972206f6620426c756520">
 <param name="c" value="457965732654686f6d617320486172">
 <param name="d" value="647926323430332630263636263939">
 <param name="e" value="393966662654696d6573526f6d616e">
 <param name="f" value="2679657326363026363026313030">
 <param name="host" value="yes">
 <param name="color" value="FFFF66">
 <param name="border" value="000000">
 <a href="http://www.classicbookshelf.com/">Classic Bookshelf</a>
</applet>
<a href="http://www.classicbookshelf.com/">Classic Bookshelf</a>

Save and re-publish your web page on the internet. The book now appears on your own web page.

Have a look at the book and play around with the fonts and colors. Close the book and it offers to send you a bookmark by email. The email links back to your web page. Follow the link and this time the book will open at the same page you left off. Fonts and colors are remembered too. It looks and behaves like this one on the right except the emails it sends link back to your own site.

You work hard to build your website traffic. Our simple bookmark email mechanism reminds visitors to come back to your web page. Try for yourself and see how powerfully our bookmark emails can guide visitors back. Remember, it's free.

Some notes:

You may host as many classic books as you wish. However, you should only host one book on each web page.

It is important that you only host books on web pages that have fixed addresses and don't already have a query string. Bookmark emails we send to your visitors contain your host web page address followed by a query string. We use the query string to provide the bookmark, font and color settings.

What are query strings? Look at the address for this page, the query string is the bit after the question mark shown here in green.

http://www.classicbookshelf.com/hosting/code/?ChosenBook=142

Our books work using Java applets. Most browsers, nearly 100%, support them. The above code in your web page tells a visitor's browser to fetch the java applet from here. The applet knows which book to open and fetches the words from this website too.

A very small number of users disable Java in their browsers. They will be unable to read your hosted books unless they re-enable Java. Others access the internet through proxy servers which interfere with the way our applet works. They will not be able to read your hosted books either.

Colors:

You can match the background color to fit in with your web page. It is done by modifying this line from the code above:

<param name="color" value="FFFF66">

You may choose your own color to replace FFFF66 in the supplied code. Use the common HTML hex format, RRGGBB.

The border color may be modified too.

<param name="border" value="000000">

Change the supplied value - 000000 which is black in this example. These are the only two changes we recommend you make to the code.

Copyright © 2000-2003 Classic Bookshelf Ltd
all rights reserved