html2print.js 264 B

12345678910
  1. $(function() {
  2. // Cloning the master page
  3. for (i = 1; i < nb_page; i++){
  4. $("#master-page").clone().attr("id","page-"+i).insertBefore($("#master-page"));
  5. }
  6. $("#master-page").attr("data-width", $(".paper:first-child").width()).hide();
  7. });