Web Connection
Live Reload script problem - WC 8.1
Hello,
Just wanted to test quickly and put my script is beteween div elements, here is the result You merge your reload script before the end my script Html ( with script ) is generated with a Helper before it is merge in a template
<script>
function customPrint() {
var printContents = document.querySelector('.printable-content').innerHTML;
var originalContents = document.body.innerHTML;
var printWindow = window.open('', '', 'height=600,width=800');
printWindow.document.write('<html><head><title>Print</title>');
printWindow.document.write('<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/css/bootstrap.min.css">');
printWindow.document.write('<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.8.1/font/bootstrap-icons.min.css">');
printWindow.document.write('<style>body { margin: 20px; }</style>');
printWindow.document.write('</head><body>');
printWindow.document.write(printContents);
printWindow.document.write('
<!-- West Wind Live Reload -->
<script>
(function(retryTimeout) {
setTimeout(function () {
Tks Marcel
