30,38d29 < var elem=null, context; < var cf = "10px Verdana", clearcmd=""; < var elemb=null, contextb; < var cfb = "10px Verdana", clearcmdb=""; < var txb=2, tyb=14, linesb=[], ilinesb=0; < var tx=2, ty=14, lines=[], ilines=0; < var goodt=0, goodl=0, goodw=0, goodh=0; < var wo=null; < 101,103d91 < top.document.getElementById('myh1').innerHTML='Teletext Country Capital Quiz'; < parent.document.getElementById('myh1').innerHTML='Teletext Country Capital Quiz'; < aconto.getElementById('myh1').innerHTML='Teletext Country Capital Quiz'; 108a97,99 > top.document.getElementById('myh3').innerHTML=top.document.getElementById('myh3').innerHTML.split(' ... ')[0] + ' ... ' + linkit(question) + ' ' + linkit(answer); > parent.document.getElementById('myh3').innerHTML=parent.document.getElementById('myh3').innerHTML.split(' ... ')[0] + ' ... ' + linkit(question) + ' ' + linkit(answer); > aconto.getElementById('myh3').innerHTML=aconto.getElementById('myh3').innerHTML.split(' ... ')[0] + ' ... ' + linkit(question) + ' ' + linkit(answer); 118,123d108 < top.document.getElementById('myh3').innerHTML=top.document.getElementById('myh3').innerHTML.split(' ... ')[0] + ' ... ' + linkit(question) + ' ' + linkit(answer); < parent.document.getElementById('myh3').innerHTML=parent.document.getElementById('myh3').innerHTML.split(' ... ')[0] + ' ... ' + linkit(question) + ' ' + linkit(answer); < aconto.getElementById('myh3').innerHTML=aconto.getElementById('myh3').innerHTML.split(' ... ')[0] + ' ... ' + linkit(question) + ' ' + linkit(answer); < top.document.getElementById('myh1').innerHTML='Teletext Country Capital Quiz'; < parent.document.getElementById('myh1').innerHTML='Teletext Country Capital Quiz'; < aconto.getElementById('myh1').innerHTML='Teletext Country Capital Quiz'; 160,277d144 < function canvtextb(intxt) { < var zerob=0; < var loca=intxt.split(String.fromCharCode(10)); < if (linesb.length != 0 && loca.length != 0 && loca.length >= linesb.length) { < if (linesb[0] == loca[0]) { linesb=[]; } < } < if (linesb.length == 0) { < tyb=14; < contextb.font = cf; < //alert('clearcmdb=' + clearcmdb); < eval(clearcmdb); < //alert('clearcmdb = ' + clearcmdb); < if (documentURL.indexOf(se) != -1) { // is original background layer < contextb.strokeStyle = "blue"; < } else { < contextb.strokeStyle = "black"; < } < linesb=intxt.split(String.fromCharCode(10)); < //alert('linesb.length=' + linesb.length); < } else { < zerob=eval('' + linesb.length); < //alert('zerob=' + zerob); < for (var iloca=0; iloca ilines) { < if (linesb[ilines] != '') { < if (documentURL.indexOf(se) != -1) { // is original background layer < context.strokeStyle = "black"; < } else { < context.strokeStyle = "blue"; < } < context.strokeText(linesb[ilines],tx,ty); < if (documentURL.indexOf(se) != -1) { // is original background layer < context.strokeStyle = "blue"; < } else { < context.strokeStyle = "black"; < } < } < } else { < context.strokeText(lines[ilines],tx,ty); < } < ty+=12; < } < } else { < zero=eval('' + lines.length); < //alert('add with ... ' + intxt + ' ... linesb.length=' + linesb.length); < for (var iloca=zero; iloca ilines) { < if (linesb[ilines] != '') { < if (documentURL.indexOf(se) != -1) { // is original background layer < context.strokeStyle = "blue"; < } else { < context.strokeStyle = "black"; < } < context.strokeText(linesb[ilines],tx,ty); < if (documentURL.indexOf(se) != -1) { // is original background layer < context.strokeStyle = "black"; < } else { < context.strokeStyle = "blue"; < } < } < } else { < context.strokeText(lines[ilines],tx,ty); < } < ty+=12; < } < document.getElementById('icanvas').innerHTML=''; < } < } < < function imgonl(ioisi) { < if (top.document.getElementById('mycb').checked == false || aconto.getElementById('mycb').checked == false) { //is_teletext_quiz || top.document.URL.indexOf('quiz=') != -1) { < wo=null; < } else { < top.document.getElementById('dimage').innerHTML=''; < document.getElementById('dimage').innerHTML=''; < aconto.getElementById('dimage').innerHTML=''; < if (wo != null) { wo.close(); wo=null; } < goodh=eval(('' + ioisi.height).replace('px','').split('.')[0]); < goodw=eval(('' + ioisi.width).replace('px','').split('.')[0]); < //alert('top=' + goodt + ',left=' + goodl + ',height=' + goodh + ',width=' + goodw); < wo=window.open('','_blank','top=' + goodt + ',left=' + goodl + ',height=' + goodh + ',width=' + goodw); < wo.document.write(''); < wo.document.title = 'Email Attachment Helper ... Select All / Copy could be useful'; < } < } < 282d148 < top.canvtext(parent.document.getElementById('tais').value); 286,293d151 < //alert('huh?'); < //aconto.canvtext(aconto.getElementById('tais').value); < //alert('huh!'); < if (documentURL.indexOf(se) != -1) { // is original background layer < clearcmd=clearcmd; < } else { < top.canvtextb(aconto.getElementById('tais').value); < } 338,348d195 < function taupd(tval) { < if (documentURL.indexOf('startsas=') != -1) { // is original background layer < //alert('In background'); < //alert('tval=' + tval); < top.canvtext(tval); < } else { < //alert('tval = ' + tval); < top.canvtextb(tval); < } < } < 465c312 < aconto.getElementById('myh1').innerHTML='Teletext Country Capital Quiz'; --- > //aconto.getElementById('myh1').innerHTML='Teletext Country Capital Quiz'; 488,489d334 < top.canvtext(document.getElementById('tais').value); < //document.getElementById('icanvas').innerHTML=''; 537,555d381 < var recttwo=document.getElementById('extradiv').getBoundingClientRect(); < goodt=eval(50 + ('' + recttwo.top).replace('px','').split('.')[0]); < goodl=eval(('' + recttwo.left).replace('px','').split('.')[0]); < recttwo=document.getElementById('dimage').getBoundingClientRect(); < var rectta=document.getElementById('tais').getBoundingClientRect(); < document.getElementById('dimage').style.height='' + eval(eval(('' + rectta.top).replace('px','')) + eval(('' + rectta.height).replace('px','')) - eval(('' + recttwo.top).replace('px',''))) + 'px'; < document.getElementById('dcanvas').innerHTML=''; < elem=document.getElementById('canvasid'); < context=elem.getContext('2d'); < clearcmd="context.clearRect ( 0 , 0 , " + ('' + rectta.width).replace('px','') + " , " + ('' + rectta.height).replace('px','') + ");"; < if (documentURL.indexOf(se) != -1) { // is original background layer < clearcmd=clearcmd; < } else { < document.getElementById('dcanvas').innerHTML=''; < elemb=document.getElementById('canvasidb'); < contextb=elemb.getContext('2d'); < clearcmdb="contextb.clearRect ( 0 , 0 , " + ('' + rectta.width).replace('px','') + " , " + ('' + rectta.height).replace('px','') + ");"; < } < 567,576d392 < if (is_teletext_quiz || top.document.URL.indexOf('quiz=') != -1) { < document.getElementById('mycb').checked=false; < document.getElementById('mycb').style.visibility='hidden'; < document.getElementById('dmycb').style.visibility='hidden'; < if (aconto) { < if (aconto.getElementById('mycb')) { < aconto.getElementById('mycb').checked=false; < } < } < } 597,602d412 < if (is_teletext_quiz || top.document.URL.indexOf('quiz=') != -1) { < document.getElementById('mycb').checked=false; < document.getElementById('mycb').style.visibility='hidden'; < document.getElementById('dmycb').style.visibility='hidden'; < aconto.getElementById('mycb').checked=false; < } 648c458 < --- > 654c464 < --- > 656c466 <   

    
 Periodic Email Attachment Image Share


--- >   

  
866,868d675 <
<
<