Ideally, yesterday’s Javascript Lazy Evaluation Country In the Hour Game Tutorial suits … geography buffs … all the way through to … geography students … alike. Or at least we’d like to help this be so, and in that respect we decided to offer two modes of Hints for the Country Game (whether that be Capitals Game or In the Hour Game) play … show country flags (ie. those “combination emojis” for the country flags, derivable from that country’s ISO 2 letter country code) … var useflags=location.search.split(‘flags=’)[1] ? true : false; useflags=location.search.split(‘wimgs=’)[1] ? true : useflags; function checkflags(cbo, cbochecked) { if (cbochecked || document.getElementById(‘wimgs’).checked) { useflags=true; } else { useflags=false; } applyhints(”); } function orflag(thiscc) { var ccchar=”, ccsuff=”; var lri=’ABCDEFGHIJKLMNOPQRSTUVWXYZ’; var dri=[‘127462′,’127463′,’127464′,’127465′,’127466′,’127467′,’127468′,’127469′,’127470′,’127471′,’127472′,’127473′,’127474′,’127475′,’127476′,’127477′,’127478′,’127479′,’127480′,’127481′,’127482′,’127483′,’127484′,’127485′,’127486′,’127487′]; for (var iccsuff=0; iccsuff<thiscc.length; iccsuff++) { ccchar=thiscc.substring(iccsuff, eval(1 + eval(” + iccsuff))).toUpperCase(); ccsuff+=String.fromCodePoint(eval(” + dri[eval(” + lri.indexOf(ccchar))])); //’&#’ + dri[eval(” + lri.indexOf(ccchar))] + ‘;’; } return ccsuff; } function applyhints(towhat) { var yt=”, nnyt=”; if (useflags) { if (document.getElementById(‘flags’).checked) { myflag=orflag(ccodes[eval(-1 + answer)]); document.getElementById(‘source’).style.backgroundImage=’URL(“‘ + svgtemp.replace(’48’,’96’).replace(‘30%’,’49%’).replace(‘>1 +’, ‘>’ + myflag) + ‘”)’; document.getElementById(‘source’).style.backgroundPosition=’right center’; document.getElementById(‘source’).style.backgroundRepeat=’no-repeat’; } if (document.getElementById(‘wimgs’).checked) { if (yourtzlist.indexOf(‘,’ + ccodes[eval(-1 + answer)] + ‘,’) != -1) { yt=yourtzlist.split(‘,’ + ccodes[eval(-1 + answer)] + ‘,’)[1].split(‘>’)[1].split(‘<‘)[0]; nnyt=yt.replace(yt.split(‘/’)[0] + ‘/’,”); //alert(document.getElementById(‘tzi’).src.split(‘?’)[0].split(‘#’)[0] + ‘?tzexact=’ + encodeURIComponent(yt.replace(/\ /g,’_’)) + ‘&tznickname=’ + encodeURIComponent( nnyt.replace(/\ /g,’_’) )); document.getElementById(‘tzi’).src=document.getElementById(‘tzi’).src.split(‘?’)[0].split(‘#’)[0] + ‘?tzexact=’ + encodeURIComponent(yt.replace(/\ /g,’_’)) + ‘&tznickname=’ + encodeURIComponent( nnyt.replace(/\ /g,’_’) ); } } } else { document.getElementById(‘source’).style.backgroundImage=”; document.getElementById(‘source’).style.backgroundRepeat=’no-repeat’; document.getElementById(‘ourcanvas’).style.backgroundImage=”; document.getElementById(‘ourcanvas’).style.backgroundRepeat=’no-repeat’; } return towhat; } …and/or … Wikipedia images … function checkwimgs(cbo, cbochecked) { if (cbochecked || document.getElementById(‘flags’).checked) { useflags=true; } else { useflags=false; } applyhints(”); } function fgcit(iois) { var outof=[“left top”,”left center”,”left bottom”,”right top”,”right center”,”right bottom”,”center top”,”center center”,”center bottom”]; var startwith=”, endwith=”, imglist=[]; if (iois != null) { if (iois.src.indexOf(‘tzexact=’) != -1) { var aconto = (iois.contentWindow || iois.contentDocument); if (aconto != null) { if (aconto.document) { aconto = aconto.document; } if (aconto.body != null) { if (aconto.body.outerHTML.replace(/\"\;/g,”‘”).indexOf(“document.getElementById(‘ourcanvas’).style.background”) != -1) { //document.getElementById(‘ourcanvas’).style.backgroundRepeat=’no-repeat’; startwith=”document.getElementById[‘ourcanvas’].style.background” + aconto.body.outerHTML.replace(/\&\;/g,”&”).replace(/\"\;/g,”‘”).split(“document.getElementById(‘ourcanvas’).style.background”)[1].split(‘;’)[0] + ‘;’; imglist=startwith.split(‘,’); for (var jiu=0; jiu<imglist.length; jiu++) { if (jiu == 0) { endwith=imglist[jiu].trim().replace(/\)/g, ‘) ‘ + outof[0] + ‘ no-repeat’).replace(‘URL(‘, ‘linear-gradient(rgba(255,255,255,0.7),rgba(255,255,255,0.7)),URL(‘); } else { endwith+=’,’ + imglist[jiu].replace(‘)’, ‘) ‘ + outof[eval(jiu % outof.length)] + ‘ no-repeat’) } } eval(endwith.replace(“document.getElementById[‘ourcanvas’].”, “document.getElementById(‘ourcanvas’).”)); } } } } } } After all, most of us are not destined to visit or travel or tour all these countries, alas! And so, again, hope you try the changed gradual_reveal_country_game.html‘s Country
SVG Shapes Collaboration Tutorial
We are all not islands! Though Tahiti sounds nice! Be that as it may, with our Show Some Shapes web application, further to yesterday’s SVG Media Shapes Tutorial we’ve reached the … anyone, anyone? Yes, Aoife … We’re “missing UYou too” … but don’t you think that’s a bit beside the point. And besides, weren’t you supposed to be cleaning windows this afternoon? Okay Brian … yes, you can be an island, if you like. But, can we get back to brass tacks … over there next to the “point”? What’s the “C” word that goes with “Sharing” (yes, thanks Ivan “and caring””)? Yes, that’s all well and good, but can we get back to the “C” word. “Co” … “Col” … “Coll” … (no, Colleen … not “Collyflower”) … give up … how about … Collaborate ? Yes, people share and collaborate. But, in order to collaborate … somebody has to initiate … and hopefully … a collaborator reads and/or listens … then, often optionally … returns a measured response … and so on and so forth etcetera etcetera etcetera Class??!! …………………. class?! …… dismissed In the online world, good “initiators”, we find, are either … email … 📧 and/or … SMS … 📟 … respectively catered for, in HTML, via “a” links featuring an href attribute starting with “mailto:” or “sms:” … document.write(“<a style=display:none; id=asms href=’sms:&body=” + encodeURIComponent(document.URL.split(‘#’)[0].split(‘?’)[0] + ‘?via=’) + “‘></a><a style=display:none; id=aemail href=’mailto:?subject=Show%20Some%20Shapes” + encodeURIComponent(‘ (link validity expires in 10 minutes from now)’) + “&body=” + encodeURIComponent(document.URL.split(‘#’)[0].split(‘?’)[0] + ‘?via=’) + “‘></a><iframe frameborder=0 name=ifstyle id=ifstyle src=’//www.rjmprogramming.com.au/PHP/fgc/index.php” + via + “‘ style=display:none;></iframe>”); … respectively. Later, we append to those href attribute URLs an encodeURIComponent version of a uniquifier (for an initiator) … var alltemp=”; function alltempf() { if (imageoverlay && iframeoverlay) { alltemp=(‘<html><head></head><body oncontextmenu=”parent.pnosharenow();” onclick=”window.open(‘ + “‘” + document.URL.split(‘#’)[0].split(‘?’)[0] + “‘,’_blank’,’top=200,left=200,width=800,height=800′” + ‘);” title=”Click to make your own Shapes in new window or right click for finished here and make your own Shapes below”>’ + simage + siframe + document.getElementById(‘doverlay’).outerHTML + ‘</body></html>’); } else if (imageoverlay) { alltemp=(‘<html><head></head><body oncontextmenu=”parent.pnosharenow();” onclick=”window.open(‘ + “‘” + document.URL.split(‘#’)[0].split(‘?’)[0] + “‘,’_blank’,’top=200,left=200,width=800,height=800′” + ‘);” title=”Click to make your own Shapes in new window or right click for finished here and make your own Shapes below”>’ + simage + document.getElementById(‘doverlay’).outerHTML + ‘</body></html>’); } else if (iframeoverlay) { alltemp=(‘<html><head></head><body oncontextmenu=”parent.pnosharenow();” onclick=”window.open(‘ + “‘” + document.URL.split(‘#’)[0].split(‘?’)[0] + “‘,’_blank’,’top=200,left=200,width=800,height=800′” + ‘);” title=”Click to make your own Shapes in