154,158d153 < var csw='-1'; //'' + screen.width; < var csh='-1'; //'' + screen.height; < var lastcsw='-1'; //'' + screen.width; < var lastcsh='-1'; //'' + screen.height; < var onrok=true; 229,241c224 < if (lastcsw != csw) { < isrelp=false; < ans=prompt('Want to go anywhere? Enter + to recalibrate with the resizing. (To save for future append a blank.) Eg. https://www.rjmprogramming.com.au/slideshow.html', urls[eval(-1 + eval('' + innum))].trim()); < if (!ans) { ans=''; } < if (ans == '+') { < ans=''; < csh='-1'; < onl(); < } < } else { < isrelp=false; < ans=prompt('Want to go anywhere? (To save for future append a blank.) Eg. https://www.rjmprogramming.com.au/slideshow.html', urls[eval(-1 + eval('' + innum))].trim()); < } --- > ans=prompt('Want to go anywhere? (To save for future append a blank.) Eg. https://www.rjmprogramming.com.au/slideshow.html', urls[eval(-1 + eval('' + innum))].trim()); 251d233 < isrelp=false; 282,300d263 < function onr() { < if (onrok) { < if (eval( Math.abs(eval('' + window.innerHeight) - eval('' + csh) ) + Math.abs( eval('' + window.innerWidth) - eval('' + csw) )) >= 200) { < if (document.getElementById('divimif').innerHTML != '') { < document.getElementById('divimif').innerHTML=''; < csh='-1'; < onl(); < return; < } < } < if (eval( Math.abs(eval('' + window.innerHeight) - eval('' + csh) ) + Math.abs( eval('' + window.innerWidth) - eval('' + csw) )) >= 100) { < if (document.getElementById('divimif').innerHTML != '') { < csw='' + window.innerWidth; < csh='' + window.innerHeight; < } < } < } < } < 302,303c265 < onrok=false; < if (eval('' + screen.width) <= 420 && ('' + csw).indexOf('-') != -1) { --- > if (eval('' + screen.width) <= 420) { 309,315d270 < if (('' + csh).indexOf('-') != -1) { < csw='' + screen.width; < csh='' + screen.height; < lastcsw=csw; < lastcsh=csh; < } < 341d295 < onrok=true; 392c346 < --- >