9c9 < var wois=null, pmodewin='_blank', pinurl=document.URL.split('?') + '?call=%26%23128578%3b'; --- > var wois=null, pmodewin='_blank', pinurl=document.URL.split('?') + '?call=amBeingCalled'; 16,19d15 < var jncx=incxn; < var jncy=incyn; < jncx/=10; < jncy/=10; 30,40d25 < var draw_back_as_is=false; < var draw_back_your_interventions_only=false; < var draw_back_default_moves_only=false; < var penup=true; < var lastx=-1, lasty=-1; < var elem=null; < var content=null; < var ss='#000000'; < var nomoveinarow=0; < var butp=null; < 85d69 < pinurl=document.URL.split('?') + '?call=%26%239999%3b'; 88c72 < //wois.focus(); --- > wois.focus(); 103c87 < //wois.focus(); --- > wois.focus(); 125c109 < //wois.focus(); --- > wois.focus(); 129c113 < // document.title+='%'; --- > document.title+='%'; 161,162d144 < nomoveinarow=0; < if (draw_back_your_interventions_only) { penup=true; } 166c148 < if ((draw_back_default_moves_only && ('' + ws + '~').indexOf('0~') != -1) || (pwhx.replace(pwh,'').indexOf('' + ws) == -1 && ('' + movetosx[eval(pindex % movetosx.length)]).indexOf('.0') != -1)) { // || pwhx.replace(pwh,'').indexOf('' + wois.screenY) == -1) { --- > if (pwhx.replace(pwh,'').indexOf('' + ws) == -1 && ('' + movetosx[eval(pindex % movetosx.length)]).indexOf('.0') != -1) { // || pwhx.replace(pwh,'').indexOf('' + wois.screenY) == -1) { 170,200d151 < if (draw_back_as_is || draw_back_default_moves_only) { < if (penup || ss != '#000000') { < if (!penup) { if (nomoveinarow > 30) { nomoveinarow=0; elem.style.zIndex='7'; setTimeout(ssback, 2900); } } < lastx=Math.floor(eval('' + wois.screenX) + jncx); < lasty=Math.floor(eval('' + wois.screenY) + jncy); < if (!draw_back_your_interventions_only) { < //document.title+='!'; < context.beginPath(); < context.moveTo(lastx, lasty); < } < penup=false; < } else { < if (Math.floor(eval('' + wois.screenX) + jncx) != lastx || Math.floor(eval('' + wois.screenY) + jncy) != lasty) { < nomoveinarow=0; < elem.style.zIndex='7'; < //setTimeout(ssback, 900); < //document.title='' + eval('' + wois.screenX) + ';' + eval('' + wois.screenY) + ' ' + Math.floor(eval('' + wois.screenX) + jncx) + ',' + Math.floor(eval('' + wois.screenY) + jncy) + ' to ' + lastx + ',' + lasty; < //document.title+=ss; < lastx=Math.floor(eval('' + wois.screenX) + jncx); < lasty=Math.floor(eval('' + wois.screenY) + jncy); < if (draw_back_default_moves_only && !allowmove) { < lastx=lastx; < } else if (!draw_back_your_interventions_only || draw_back_default_moves_only) { < //document.title+='~' + lastx + ',' + lasty; < context.strokeStyle=ss; //'#000000'; < context.lineTo(lastx, lasty); < context.stroke(); < } < } < } < } 203,244d153 < if (draw_back_as_is || draw_back_your_interventions_only) { < if (penup || ss != '#000000') { < if (!penup) { if (nomoveinarow > 30) { nomoveinarow=0; elem.style.zIndex='7'; setTimeout(ssback, 2900); } } < context.beginPath(); < lastx=Math.floor(eval('' + wois.screenX) + jncx); < lasty=Math.floor(eval('' + wois.screenY) + jncy); < //document.title+='?' + lastx + ',' + lasty; < context.moveTo(lastx, lasty); < penup=false; < } else { < if (Math.floor(eval('' + wois.screenX) + jncx) != lastx || Math.floor(eval('' + wois.screenY) + jncy) != lasty) { < elem.style.zIndex='7'; < nomoveinarow=0; < //setTimeout(ssback, 900); < //document.title='' + eval('' + wois.screenX) + ';' + eval('' + wois.screenY) + ' ' + Math.floor(eval('' + wois.screenX) + jncx) + ',' + Math.floor(eval('' + wois.screenY) + jncy) + ' to ' + lastx + ',' + lasty; < //document.title=ss; < lastx=Math.floor(eval('' + wois.screenX) + jncx); < lasty=Math.floor(eval('' + wois.screenY) + jncy); < if (draw_back_your_interventions_only && allowmove) { < allowmove=allowmove; < } else { < //if (!draw_back_default_moves_only) { < //document.title+='#' + lastx + ',' + lasty; < context.strokeStyle=ss; //'#000000'; < context.lineTo(lastx, lasty); < context.stroke(); < //} < } < } else { < if (!allowmove) { nomoveinarow++; } < if (nomoveinarow > 30) { < elem.style.zIndex='-1'; < ss='rgba(255, 255, 255, 0.0)'; < document.title='Can move now'; < if (butp) { < butp.value=butp.value.split(' ... ')[0] + ' ... ' + document.title; < } < context.strokeStyle=ss; //'#000000'; < } < } < } < } 252,342d160 < < function ssback() { < ss='#000000'; < elem.style.zIndex='7'; < document.title='Pen down again'; < if (butp) { < butp.value=butp.value.split(' ... ')[0] + ' ... ' + document.title; < } < } < < function nondefaults(buto) { < //event.stopPropagation(); < switch(buto.value) { < case 'Draw Back As Is': < butp=buto; < butp.style.border='2px dashed yellow'; < draw_back_as_is=true; < elem.style.zIndex='7'; < document.title='Pen down again'; < if (butp) { < butp.value=butp.value.split(' ... ')[0] + ' ... ' + document.title; < } < wois.close(); < wois=window.open(pinurl, pmodewin, pwhx); < wois.focus(); < break; < < case 'Draw Back Your Interventions Only': < butp=buto; < butp.style.border='2px dashed yellow'; < draw_back_your_interventions_only=true; < elem.style.zIndex='7'; < if (!allowmove) { < document.title='Pen down again'; < if (butp) { < butp.value=butp.value.split(' ... ')[0] + ' ... ' + document.title; < } < } < wois.close(); < wois=window.open(pinurl, pmodewin, pwhx); < wois.focus(); < break; < < case 'Draw Back Default Moves Only': < butp=buto; < butp.style.border='2px dashed yellow'; < draw_back_default_moves_only=true; < elem.style.zIndex='7'; < if (allowmove) { < document.title='Pen down again'; < if (butp) { < butp.value=butp.value.split(' ... ')[0] + ' ... ' + document.title; < } < } < wois.close(); < wois=window.open(pinurl, pmodewin, pwhx); < wois.focus(); < break; < < case 'Stop Drawing': < if (butp != null) { < butp.value=butp.value.split(' ... ')[0]; < butp=null; < } < draw_back_default_moves_only=false; < draw_back_default_moves_only=false; < draw_back_as_is=false; < elem.style.zIndex='-1'; < //wois.focus(); < document.title='Move Around Edge Window Open - RJM Programming - May, 2019'; < event.stopProagation(); < break; < < default: < break; < < } < } < < function laterf() { < if (wois) { wois.focus(); } < } < < function cfc() { < elem = document.getElementById('mycanvas'); < if (elem) { < elem.width = elem.offsetWidth; < elem.height = elem.offsetHeight; < context = elem.getContext("2d"); < } < } 346c164 < --- > 350c168 < document.write('









'); --- > document.write('








'); 354c172 < document.write('

' + callis + '

In some places you can move this to take the
controls from the automated screen edge
movements. If so to relinquish control
place at left hand edge again.

'); --- > document.write('

🙂

In some places you can move this to take the
controls from the automated screen edge
movements. If so to relinquish control
place at left hand edge again.

');