Problems with jQuery booklets

Good afternoon, everyone, I just opened the jQuery booklet, and it looks pretty amazing. However, I cannot get it to work. I just followed all the instructions from the official link . My HTML is as follows:

<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>New Web Project</title> <script type="text/javascript" src="jquery.booklet.1.3.1/booklet/jquery-1.7.2.min.js"</script> <script type="text/javascript" src="jquery.booklet.1.3.1/booklet/jquery-ui-1.8.18.custom.min.js"</script> <script type="text/javascript" src="jquery.booklet.1.3.1/booklet/jquery.easing.1.3.js"</script> <script type="text/javascript" src="jquery.booklet.1.3.1/booklet/jquery.booklet.1.3.1.min.js"</script> <link href="jquery.booklet.1.3.1/booklet/jquery.booklet.1.3.1.css" type="text/css" rel="stylesheet" media="screen"/> <script type="text/javascript" src="libro.js"></script> </head> <body> <div id="mybook"> <div> <h3>Yay, Page 1!</h3> </div> <div> <h3>Yay, Page 2!</h3> </div> <div> <h3>Yay, Page 3!</h3> </div> <div> <h3>Yay, Page 4!</h3> </div> </div> </body> 

And the js libro.js file is the one who initializes the booklet:

 $(function() { $('#mybook').booklet(); }); 

This is what it takes to make it work, but I get the tags one by one, and I don't know what else to do ... any ideas? Thanx.

+6
source share

Source: https://habr.com/ru/post/920374/


All Articles