Spaces:
Sleeping
Sleeping
Commit ·
b613fc6
1
Parent(s): d8b766a
added printing function
Browse files549 unmodified lines550551552553554555556106 unmodified lines663664665666667668669549 unmodified linestitle="As much or as little description as you want to provide. You can provide specific employees, inventory etc">A very standard gear store run by a fae potted plant named Gorgeous</textarea><button id="submitDescription">Submit</button><button id="parseHTML">Parse HTML</button><button id="resetButton">Reset</button><div class="pages"><div id="page-1" class="page" data-page-id="page-0"><div class="columnWrapper">106 unmodified linesconsole.error('Error:', error);});});// Store initial positions of the blocksfunction storeInitialPositions() {initialPositions = []; // Clear initialPositions before updating549 unmodified lines550551552553554555556557106 unmodified lines664665666667668669670671672673674675676677678679680681682683684685686549 unmodified linestitle="As much or as little description as you want to provide. You can provide specific employees, inventory etc">A very standard gear store run by a fae potted plant named Gorgeous</textarea><button id="submitDescription">Submit</button><button id="parseHTML">Parse HTML</button><button id="resetButton">Reset</button><button onclick="printPageContainer()">Print to PDF</button><div class="pages"><div id="page-1" class="page" data-page-id="page-0"><div class="columnWrapper">106 unmodified linesconsole.error('Error:', error);});});// Print Functionwindow.printPageContainer = function() {var pageContainer = document.getElementById('pageContainer');if (pageContainer) {var printContents = pageContainer.innerHTML;var originalContents = document.body.innerHTML;document.body.innerHTML = printContents;window.print();document.body.innerHTML = originalContents;} else {console.error('Element with ID "pageContainer" not found.');}}// Store initial positions of the blocksfunction storeInitialPositions() {initialPositions = []; // Clear initialPositions before updating
storeUI.html+19-2