Click arrows to turn pages.
Bookblock tutorial is an installation guide for adding the code into your webpage. You must have some webmastering skill to accomplish the tasks ahead. Get the plugin below and unzip it to your computer. I promise is it safe and virus free.
Then follow the step by step instructions to guide you through uploading to your website. Get a deeper understanding of the plugin courtesy of tympanus.net by: Pedro Botelho
Then come back here to learn how to add the code to your website and make it mobile responsive. Use the arrows below to navigate through the tutorial.
bookblock-responsive.css is the file that contains the style rules that override the height and width attributes of the book.
There are many variables that can be adjusted in the css files. If you are an inexperienced coder then don't worry about it. Stick with the default settings.
The default height is 400px and the width is 300px and can be found in the bookblock.css file. However these can be made responsive. Get the add-on to do that.
The 'bookblock-responsive.css' code changes the height and width properties of the book for screens on mobile devices.
Next Theory and usage.
Bookblock Tutorial Theory and Usage
Starting with the name 'BookBlock' can be interpreted as a combination of a book and a block. You can turn pages in a book with a flick of the thumb. A block can be related to as a container. The author can write a book contained in a defined space.
Caution: You must plan your content to fit into the page. If the content is more than the 400px in height it could cover the navigation arrows preventing them from working.
Next CSS code.
The CSS files must be in the order shown above. The emoji CSS brings in the arrow icons.
These jacascript codes need to be placed at the bottom of the page just before the closing 'body' tag.
Bookblock Tutorial HTML Code
Copy and paste this code where you want the book to appear. Make sure to add your own content.
Copy and paste this code chunk at the bottom of your page just above the closing 'body' tag.
Next: Page Numbering.
Page numbering is accomplished by including a small container rule in the bookblock-responsive.css file. The HTML code for this goes at the end of the page.
Page numbering is exclusive to this tutorial. We created a small container that holds the number.
The CSS style rule for it is included in the bookblock-responsive.css. If you copy and paste this code don't forget to update the number. Nothing so bad as a book whose page numbers are out of order.
Place this code at the end of your content per page. To remove page numbering, simply remove the code.
Next: Usage Tips.
Bookblock Tutorial Usage Tips
Some clever ideas would be to use this as a childrens book for learning, Or as a step by step tutorial like this one. You may want to do a short presentation. Or make a game with it. Or use as an image gallery. Or you could make a short story.
Note the default height is set at 400px and can be modified in the bookblock-responsive.css file.
Disclaimer. This bookblock tutorial comes as is. No guarantees are given to performance. No liability can be claimed for any damage.
Questions? Contact me.
That's it, thanks for reading