builtbywill / booklet

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

height and width problem #19

Closed trenzig closed 11 years ago

trenzig commented 11 years ago

Added the basic booklet. Had 4 sides. Tried to do a basic height and width initialisation WIll do width or height seperately but not both:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/jquery-ui.min.js" type="text/javascript"></script>  
<script src="../booklet/jquery.easing.1.3.js" type="text/javascript"></script>
<script src="../booklet/jquery.booklet.latest.js" type="text/javascript"></script>
<link href="../booklet/jquery.booklet.latest.css" type="text/css" rel="stylesheet" media="screen, projection, tv" />
<style type="text/css">
    body {background:#ccc; font:normal 12px/1.2 arial, verdana, sans-serif;}
</style>

<script type="text/javascript">
    $(function() {
$('#mybook').booklet({
    width:  600,
    height: 200
});

});

```

Page 2

Page 3

Page 4

```
trenzig commented 11 years ago

Copied the code directly from the web page and no issues ! Must be me...