builtbywill / booklet

jQuery Plugin - display web content in a flipbook
http://builtbywill.com/booklet
Other
291 stars 109 forks source link

IE 8 closed booklet issue #10

Closed soyuka closed 7 years ago

soyuka commented 11 years ago

Hi,

When I try to instantiate the plugin with the closed option, it works well on chrome but on IE 8 it shows the 4th page and hide the previous ones. Than the logic is lost, next will show pages 2-5 for example.

Edit : I was setting the width to 100% and closed to true, now it works with a fixed width.

Also, setting the option "closed" after created tells me that booklet has no such an option : $mag.booklet("option", "closed", true); Uncaught Error: Option "closed" does not exist on jQuery.booklet.

Edit : The option closed won't work on the created event, but works after plugin has initialized (you should add an init event, it would be lovely !).

jQuery 1.9.1, IE 8, Booklet 1.4.2

Please try a demo with many pages with IE 8 it's buggy and random !

airspeed commented 11 years ago

ex. http://jsfiddle.net/airspeed/amR7F/30/ - won't work on IE8 (probably a JSFiddle bug, as also the simple http://jsfiddle.net/ crashes on IE8), so just try http://jsfiddle.net/airspeed/amR7F/30/embedded/result. I have set manual: false, so please use keyboard arrows.