问题描述:

jquery booklet lib allows creating an HTML5 flipbook with turning pages effects.

None of the direct options in the documentation seem to allow displaying a cover image. It does have a closedFrontTitle option.

Any idea how to set a cover image?

网友答案:

Managed to do it. It turns out the "closed:false" displays the covers (would have been nice if it would have been 'covers:true', but anyhow...

Here's the code snippet:

$(function() {
    $('#mybook').show();
    $('#mybook').booklet({pageNumbers:false, arrows: true, hoverWidth: 120, closed: false, startingPage: 7, direction: "LTR", height: 675, width: 860});

});
相关阅读:
Top