Open j0nr opened 10 years ago
Would like the same function - auto height for the book would be nice!
My issue is that whatever image I use for the background page, I can't get it to show up at full size. However, I'm not expecting a response from him, as it seems like he's too busy to update this project.
you can do this using getters and setters, like this:
$(window).on('resize', function () { var width = $("#mybook").booklet("option", "width"); $("#mybook").booklet("option", "height", width*10/16); });
Hi,
Just trying to implement this great plugin.
I am trying to create a landscape format booklet (imagine postcards). I have a series of images that are all the same aspect ratio. What I would like to be able to do is set the width to 100% (to fill screen sideways) and then some how set the height to be equal to the height of the images (that have scaled to fill the width of whatever device is viewing it).
Is this possible?
Thanks.