builtbywill / booklet

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

PROBABLY BUG: Padding persistent on "inner page" #8

Closed thelordofthedreams82 closed 11 years ago

thelordofthedreams82 commented 11 years ago

Hi to everybody.

I found a probably bug. If I write an html page within multiple DIVs containing IMG tag, browser shows padding around each IMG.

Checking the JS code i found a fixed "pagePadding" configuration value setted up to "10".

Should be useful have an additional parameter in initialisation to change it.

Thanks.

builtbywill commented 11 years ago

Hi there,

The pagePadding option applies to the padding of the inner divs with class ".b-wrap". It is fully capable of being overridden during initialization like so:

$(".selector").booklet({ pagePadding: 0 });

Thanks, Will