Articles

Links

All scripts are licenced:
Creative Commons 3.0 -NonCommercial

Valid HTML 4.01 Transitional


Speed: Book Flip


Are You Ready Kids?

I can't hear you.

Aye-Aye Captain!

OHHHHHHH

Who lives in a pineapple under the sea?

Sponge Bob Square Pants!

Absorbent and yellow and pourous is he!

Sponge Bob Square Pants!

If nautical nonsense be something you wish!

Sponge Bob Square Pants!

Then drop on the deck and flop like a fish!

Sponge Bob Square Pants!

Ready?

Sponge Bob Square Pants




Sponge Bob Square Pants

Sponge Bob Square Pants

Sponge Bob

Square Paaaaannttss!!!

Domains to be Licenced:










Copywrite: http://coastworx.com


Leave instructions
here or
leave it blank.


Description

December 08 2011 - Updated: Totally javascript Book Flip for page turn effects.
Bookflip engine has been totally rebuilt for better modern browser performance(IE8 & 9).
Place any html code within the books pages - div id="pages" (#no longer inside bookflip div). Each code block within the pages div will be treated as a seperate book page. Setting are adjustable in the script. Please read the readme.txt file inside the zip. Download Zip

Bookflip V4.0 Examples

Bookflip 4 example
Bookflip Shrek
Myer Catalog with Lightbox and Image Map

August 11 2008 - Updated: Totally javascript Book Flip for page turn effects.
Sound Manager is the only Flash component courtesy of Scott Schiller (schillmania.com).
Ideal for Online story books as a teachers aid or just for fun.
Now has the ability to utilize html within each page and still maintain proper layout.
Place any html code within the books pages - div id="myBook". Each code block within the myBook div will be treated as a seperate page. Setting are adjustable in the script. Download Zip

Bookflip V3.0 Examples

Myer Catalog
Fun with Borders
Gratitude

Free Licence

This Script is wholly developed and owned by CoastWorx.com. Copywrite: http://wwww.coastworx.com/ Licenced under Creative Commons - Non Commercial | Legal Code for Non Commercial use.

- You are free to use this script so long as all copywrite notice/s stays intact in its entirety.
- You are free to use this script so long as a link back to coastworx.com stays intact and remains visible.
- You are NOT Permitted to claim this script as your own or use this script for commercial purposes without the express permission of CoastWorx Technologies!
- Commercial Purposes is defined as profiting directly from the script, eg. profiting directly from the functionality of the script. eg a catalog type enterprise or advertising that utilises the script.
- Please purchase a Commercial Licence to remove copywrite notices and link (below).
- Full credit to Scott Schiller (schillmania.com) for soundManager.

Commercial Licence per Domain:

A Commercial Licence has the same conditions as a Free licence with these exceptions:
  • Can be used for Commercial Websites
  • Copyright notices may be removed
  • Unlimited copies may be used on a per domain basis
  • Cannot be resold or claimed as your own
Domains to be Licenced:

Comments

Joe: Not a problem. Thank you. This can be used multiple times under that domain, correct?
(28.11.2012, 10:36)

Will: Correct, a licence pertains to a domain. There is no limit on how many instance under the licenced domain.
(29.11.2012, 07:34)

Juan Carlos: Hello Will

Thanks for the great script. Question though. I have images that link to an additional page throughout my project. Some of those just happen to be where the shadow falls and prevents those links from being clicked. This can easily be fixed by moving the image to not fall in that area but is there a way to almost have the image be on top of that shadow? Thanks again my friend
(04.12.2012, 13:24)

Will: Hi Juan. In that case the shadow would be beneath the page and no longer visible if i understand correctly. You could try use the browsers transparency filter rather than the shadow image but you will need a different filter for each browser. In the js file there is currently a check to see if the users browser is IE6. That should give you an idea how to do it.
(04.12.2012, 15:59)

Frances: HI will I am a student trying to make a flipbook for my portfolio and what I had wanted was a cover page making it appear as the book was closed first and a content page is there anyway to adjust this code to do this? Thank you
(06.12.2012, 13:36)

Frances: Hi Will I got the table of content page but I am still trying remove the left side panel ONLY ON THE FIRST PAGE to give the appearance of a closed book please advise thank you
(06.12.2012, 14:26)

Will: Hi. The only way is to leave the first page div blank.
(06.12.2012, 15:37)

Frances: ok Thank you I figured that part out. Thank you for replying.
(07.12.2012, 02:01)

Edward: Thanks for the script, but it doesn't seem to work on Internet Explorer. It works on Google Chrome. Any solutions? Your help would be appreciated
(09.12.2012, 10:18)

Will: @Edward. Are you saying the above demo/s dont work on internet explorer? They seem fine for me even on IE6. What version of IE are you using and what is the JS error msg if any.
(09.12.2012, 17:09)

Jonathan: Hi Guys

Why doesn't bookflip show all the images at
http://www.librarieswithoutwalls.org/euclid1482.html

Is there a 50 page maximum?
(15.12.2012, 20:35)

Will: No maximums. Check your html beyond page 49 is valid or error free. Check for closed / > elements where required. Also check the image rescources are available.
(15.12.2012, 21:48)

Tarak: Hi will i have a prlm how to display number of images from folder in flipbook my code in html page using php .
(15.02.2013, 05:24)

Tarak: <ul id="lstImages" class="imagesSource">
<!-- <li><img alt="BMW" src="images/celica.jpg" />TEST CASE2</li> -->
<ul><?php $files = opendir("images/*.*");?></ul><ul><?php for ($i=1; $i<count($files); $i++) { $num = $files[$i]; }?></ul>
<ul><li><img src=<?php echo $num"<br>"; ?> alt="BMW"></li></ul>

output : showing single image but it is defalt.

will u please give a suggestion

(i have related code jquery,css,html index page,image) folder
(15.02.2013, 05:25)

Will: hi. You can certainly build your pages or page content on the fly with php or any other language however you still need to make sure your code outputs the correct syntax with properly formed and closed elements. You should check the source code output for errors.
(16.02.2013, 15:52)

Damen: Thanks Will for your great script. I noted one strange effect when viewing your demo in mobile browser (I use Android phone). There is a black vertical line at the left page.

I suspected the line comes form the file "black_gradient.png" when it is superimposed to the left page to produce the page shadow effect.

I enclosed a link for the screenshot for your to double check.

http://db.tt/LzUC2Sgw

See if you have any advice/comment to solve this.

Thanks
(17.02.2013, 13:21)

Jursten: Im trying to make a flip page where you need to press a navigation button to go to the next page instead of pressing just anywhere on the page. How is this possible? - i tried to change the click event from the global div to a new made div, but this div only shoes in the first page. Not second..
(19.02.2013, 15:30)

Jursten: Sorry nevermind my last question, solution found.
(19.02.2013, 15:41)

Will: @Damen, I see the black lines. That would likely be a border around the png image placed by your browser by defauly. To knock the border out try experiment with the style calls in bookflip.js eg. myPngDiv.style.background="transparent url(black_gradient.png) top right repeat-y";
(22.02.2013, 22:31)

Frank: How can you use this more than once on a single page ?
(08.03.2013, 05:15)

Will: @Frank. Currently bookflip is by id which you cant have multiples with the same id. You need a naming convention for each bookflip div and a routine to search for and identify each bookflip div so each can be initialized. Depends on how your page is built eg on the fly. Id recomend a graphic replica link to each book and open in new window or popup.
(11.03.2013, 18:09)

rizora: I am unable to change the list order in Ascending OR Descending. Can i Change it?
(14.03.2013, 22:26)

rizora: Dear, during arranging list, leave blank pages is possible.
(15.03.2013, 05:51)

0509: @rizora. Yes you can sort the dropdown list. Plenty of Sort functions on the net. Run the js sort routine after the bookflip.js has completed.
(15.03.2013, 18:22)

janine: Hi

I am struggling please help. Everything is working okay but when I turn the pages, the images turns grey first and then the images are loaded. It is doing for all the pages even if the images are loaded completely. Thanx so much for the good work
(19.03.2013, 14:40)

Will: @janine. Is the grey your referring to the default background colour set by the user settings if the script eg. pageBackgroundColor="#CCCCCC"; If the images are loaded they shouldn't be reloading and there is nothing in my script to cause that that i believe. I would need to see your installation to see whats going on. Are you using frames maybe?
(20.03.2013, 03:36)

Dr Bhanot: I attempted using this code for making a flip page booklet online but it wouldn't work on some browsers especially certain versions of Internet Explorer - so I gave up. Any remedy? Thanks.
(22.03.2013, 11:37)

Will: What browsers specifically? Does the demo above work in those browsers?
(23.03.2013, 08:51)

Luxanna: Hey!
First I wanna say thank you for this awesome script! i search for this one 384731984791384 years... sure i will link you in my credits...

now i've got a problem.
i wanna include my story (only TEXT, no pictures) in this book. it display 7 pages fine & cant display the 8th page.. is there a limit for using words?

oh, and yeah, my english sucks a lot.. i'm sorry :(
(24.03.2013, 17:07)

Will: Thanks Luxanna. There is no limit. This usually boils down to a html error introduced by the user.Check for any malformed or unclosed eg.</> elements. Contact me via email and I can take a look at your site if needed.
(25.03.2013, 03:00)

Luxanna: Thank you for your Answer. I cant find the error. :/ was searching the whole night >.<

http://pure-luminosity.de/ffs/meitanteiconan/es/chapter03/index.php

at this page... it cant show the last page of my book... thank you for your help!
(25.03.2013, 08:21)

Will: @Luxanna: Your html is invalid (http://validator.w3.org/) try remove the duplicate </script> tag just above </head> and start from there. BTW an external link back to coastworx.com is a requirement of the free licence.
(26.03.2013, 07:23)

Luxanna: Thank you for your Answer. Don't work... ._. So frustating.. But ty for trying. and oh, i link u back, just take a look here:
http://pure-luminosity.de/?site=site

anyways, ty for the script... maybe i'll find the error..
(26.03.2013, 08:06)

Will: You still have a stray closing </div> near pages div at the time of writing.
(26.03.2013, 13:58)

Miguel: Â¿is there a way to preload pages?
(06.04.2013, 07:47)

Miguel: Thank you, the script works incredibly fast !!
(06.04.2013, 07:49)

Yeli Design: i love it , it s working fast thanks
(07.04.2013, 21:07)

rizora: Can we make a hyperlink with in the filpbook pages. for Page one has a link for page 30. is it possible?
(09.04.2013, 02:08)

rizora: Can i Insert Table of content in flipbook?
(09.04.2013, 02:56)

jw: @rizora: Yes and Yes. Linking pages is desribed further up the comments from memory.
(09.04.2013, 17:24)

rizora: can i omit the following pages in dropdown list:
<div style="background:url('xxx/xx.jpg');"></div>
Because they dont have name?
(10.04.2013, 11:55)

Will: If you mean display the dropdown but omit some pages. Yes. Give those pages a name eg name="omit" . Then add a call in the function that builds the list to skip those with a name "omit".
(12.04.2013, 05:51)

rizora: Will! can u help me to build this function?
(16.04.2013, 13:42)

Will: @rizora: try edit: function createList(dv,num){
After: if( allowNavigation && document.getElementById("flipSelect") ){ insert new line:
if(dv.getAttribute("name") == "omit"){return;};
(16.04.2013, 22:43)

Anonym: Thank you, script working but dropdown menu not working properly. Can you tell me that how to build content page within the flipbook?
(18.04.2013, 22:44)

Will: You could have a content page within the book flip, however trying to create it dynamically with js and inserting it after the pages are built as opposed to a manually creating the page and its links for inclusion as a div page increases the degree of dificulty. What would be the point of building it and hiding it on the first page for example you would need to navigate back to the first page continually.
(19.04.2013, 01:09)

Mark Ernest: Hi! great script, I was just wondering how can I make it automatically flip the page for a designated time(seconds) then loop back at the start? Either starting it when the page opens or by clicking a button?
(15.05.2013, 02:56)

Will: Hi Mark. Been answered before i think further up. Havent tried but it should be doable. There is a function already to flip to a specified page from another page within the book. You could use it inside a timeout function to cycle thru the pages. These types are modifications take a fair amount of time to do properly though so its not something i can offer up one off. Cheers.
(15.05.2013, 18:47)

songhu: Hi ~

Is it possible that BookFlip shows just one page instead of two pages(left, right) ?
If it is possible, let me know how to set it.
I want to use in iPhone and android app.
Thank you for your help!!
(17.06.2013, 00:50)

Will: Songhu, yes it is possible to create a script for that but the current script is not configurable for it. It would need a rewrite.
(17.06.2013, 18:11)

50 of 472 comments (part 1) [ » ] [ * ]

Your comment:

Name:
E-mail or homepage:
Enter Turning Number: