Numbers Guessing Game
Your Numbers Game
Get
clueYour
answerYour
ScoreClue? Score 0/0
-
Recent Posts
- PHP Exif Quiz Geographicals Tutorial
- PHP Exif Quiz Tutorial
- PHP Exif Retention off iPhone Images Tutorial
- List to Grid Layout CSS Media Query Tutorial
- List to Grid Layout Primer Tutorial
- Out and About WordPress Blog Content Tweaks Just with iPhone Tutorial
- Command Line History By Date Tutorial
- Overseas Travel Global Roaming Mobile Primer Tutorial
Categories
- Ajax
- Android
- Animation
- Anything You Like
- Code::Blocks
- Coding
- Colour Matching
- Data Integration
- Database
- Delphi
- Eclipse
- eLearning
- ESL
- Event-Driven Programming
- Games
- GIMP
- GUI
- Hardware
- Installers
- iOS
- Land Surveying
- Moodle
- Music Poll
- NetBeans
- Networking
- News
- Not Categorised
- OOP
- Operating System
- Photography
- Projects
- Signage Poll
- Software
- SpectroPhotometer
- Tiki Wiki
- Trips
- Tutorials
- Uncategorized
- Visual Studio
- Xcode
Meta
Tags
Ajax animation background button canvas command line CSS Did you know DOM dropdown email emoji event form game Google Google chart hashtag HTML IFRAME image iOS Javascript MAMP media mobile navigation onclick overlay PHP popup programming select share sharing SMS SVG table text textarea tutorial url video web browser webpageYour Background Image
OnTopList
Tag Archives: thread
WordPress Previous Relevant Published Date Tutorial
Meanwhile, back at “this blog posting’s WordPress Blog Twenty Ten theme header.php land”, like with the recent WordPress Same Action Item Tutorial we wanted to add some intelligence to those … <p id=wpimbyrmt>Previous relevant <a href=’//www.rjmprogramming.com.au/ITblog/wordpress-is-mentioned-by-less-recently-modified-tutorial’ target=”_blank” rel=”noopener”>WordPress Is Mentioned By Less Recently Modified Tutorial</a> is shown below.</p> … style of links we have going “stringing along” components of our more complex “blog posting threads”. We wanted to add into the title attribute … WordPress Is Mentioned By Less Recently Modified Tutorial published on May 12, 2026 … to add some more context into these “blog posting thread” stories, via … <php if (isset($post->post_content)) { // publication date $monam=[‘January’,’February’,’March’,’April’,’May’,’June’,’July’,’August’,’September’,’October’,’November’,’December’,’January’,’February’,’March’,’April’,’May’,’June’,’July’,’August’,’September’]; $mnin=[’01’,’02’,’03’,’04’,’05’,’06’,’07’,’08’,’09’,’10’,’11’,’12’,’1′,’2′,’3′,’4′,’5′,’6′,’7′,’8′,’9′]; $pras=explode(‘>Previous relevant <a ‘, $post->post_content); if (sizeof($pras) > 1) { $selxbitsare=file_get_contents(“../tutorial_options.html”); for ($inbc=1; $inbc<sizeof($pras); $inbc++) { $titsofar=explode(‘>’, explode(‘</a>’, $pras[$inbc])[0])[-1 + sizeof(explode(‘>’, explode(‘</a>’, $pras[$inbc])[0]))]; if (strpos($selxbitsare, ‘>’ . $titsofar . ‘ (‘) !== false && strpos(explode(‘</a>’, $pras[$inbc])[0], ‘ title=”‘ . $titsofar . ‘”‘) !== false) { $eightis=explode(‘)’,explode(‘>’ . $titsofar . ‘ (‘,$selxbitsare)[1])[0]; if (strlen($eightis) == 8) { $post->post_content=str_replace(‘ title=”‘ . $titsofar . ‘”‘, ‘ title=”‘ . $titsofar . ‘ published on ‘ . $monam[array_search(substr($eightis,-4,2),$mnin)] . ‘ ‘ . substr($eightis,-2,2) . ‘, ‘ . substr($eightis,0,4) . ‘”‘, $post->post_content); } else { $post->post_content=str_replace(‘ title=”‘ . $titsofar . ‘”‘, ‘ title=”‘ . $titsofar . ‘ published on ‘ . $eightis . ‘”‘, $post->post_content); } } else if (strpos($selxbitsare, ‘>’ . $titsofar . ‘ (‘) !== false && strpos(explode(‘</a>’, $pras[$inbc])[0], ” title='” . $titsofar . “‘”) !== false) { $eightis=explode(‘)’,explode(‘>’ . $titsofar . ‘ (‘,$selxbitsare)[1])[0]; if (strlen($eightis) == 8) { $post->post_content=str_replace(” title='” . $titsofar . “‘”, ” title='” . $titsofar . ” published on ” . $monam[array_search(substr($eightis,-4,2),$mnin)] . ‘ ‘ . substr($eightis,-2,2) . ‘, ‘ . substr($eightis,0,4) . “‘”, $post->post_content); } else { $post->post_content=str_replace(” title='” . $titsofar . “‘”, ” title='” . $titsofar . ” published on ” . $eightis . “‘”, $post->post_content); } } } } } ?> … new to good ol’ header.php of the TwentyTen Theme of this WordPress blog, and using our crontab/curl based overnight processing help here. Previous relevant WordPress Same Action Item Tutorial is shown below. Today, we’re extending our WordPress TwentyTen themed blog posting inhouse feature … Is Mentioned By … talked about within WordPress Is Mentioned By Less Recently Modified Tutorial to also include, via right click or touch move event … Same Cut to the Chase Action Item … PHP changed logic within is_mentioned_by.php controlled via … Continue reading
Posted in eLearning, Tutorials
Tagged attribute, blog, blog posting, crontab, curl, date, header.php, link, overnight, PHP, posting, processing, programming, publish, published date, theme, thread, title, tutorial, TwentyTen theme, Wordpress, wordpress blog
Leave a comment
WordPress Blog Thread Story Table of Contents Tutorial
Today, onto yesterday’s WordPress Blog Thread Story Background Gradients Tutorial‘s progress with our Story Mode Blog Posting Threads here, at least for non-mobile platforms we make use of that whitespace over to the left presenting a … Table of Contents … style of “a” links to what you might like to think of as “chapters” to the blog posting thread “Story”. Why only non-mobile here? Well, we have to think of another non-intrusive strategy for mobile platforms without enough of that left hand side whitespace available. This Table of Contents is built upon as the user is reading and scrolling down the “story”. So what was most useful to making this happen? In brief terms, it is two Javascript techniques … using HTML DOM querySelectorAll() Method … and … using [element].getBoundingClientRect() method … particularly as the latter, when comparing “apples versus apples” does not need any reference to anything like [element].scrollTop … at least on non-mobile … <?php echo ” var threaddivs=[], threaddivstwo=[], thisthre=”, thisthrei=-1, thisthrerecttop=-1, xelms=[], lastthre=null; function storyreorder(atofind) { var ivd=0, hrparts=[], hroh=”, reorderedcontent=”, hrih=”, hrdone=false, hrplus=”, hrcnt=0, midbit=”; var atobr=atofind.getBoundingClientRect(); if (document.getElementById(‘upto’)) { document.getElementById(‘upto’).innerHTML=”; thisthre=”; thisthrei=-1; lastthre=null; thisthrerecttop=-1; } thisthre=” + atofind.id; thisthrerecttop=eval(” + atofind.getBoundingClientRect().top); if ((” + atofind.getAttribute(‘data-w’)) == ‘0’) { atofind.setAttribute(‘data-w’,(” + atobr.width)); atofind.setAttribute(‘data-h’,(” + atobr.height)); } atofind.setAttribute(‘data-st’,(” + document.body.scrollTop)); for (ivd=0; ivd<threaddivs.length; ivd++) { if (document.getElementById(threaddivs[ivd])) { if (document.getElementById(threaddivs[ivd]).innerHTML.indexOf(atofind.outerHTML) != -1 && !hrdone) { thisthrei=ivd; threaddivstwo[ivd]=threaddivstwo[ivd].split(‘.’)[0]; atofind.setAttribute(‘data-done’, ‘y’); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { var pwis=0; if (navigator.userAgent.match(/iPad/i)) { pwis=eval(” + document.getElementById(‘primary’).getBoundingClientRect().width); } atofind.style.width=” + eval(-40 + eval(” + document.getElementById(‘container’).getBoundingClientRect().width) – pwis) + ‘px’; } else { atofind.style.width=” + eval(-40 + eval(” + document.getElementById(‘container’).getBoundingClientRect().width) – eval(” + document.getElementById(‘primary’).getBoundingClientRect().width)) + ‘px’; } atofind.style.color=’rgb(70,70,70)’; atofind.style.textShadow=’-0.5px 0.5px 0.5px #952dff’; atofind.style.overflow=’scroll’; atofind.style.borderLeft=’1px dashed red’; atofind.style.WebkitOverflowScrolling=’touch’; <?php echo $atofind; ?> if (document.getElementById(threaddivs[ivd]).innerHTML.indexOf(‘<hr title=’) != -1) { hrplus=’ title=’; } hrparts=document.getElementById(threaddivs[ivd]).innerHTML.split(‘<hr’ + hrplus); if (eval(” + hrparts.length) > 1) { hrih='<hr’ + hrplus + hrparts[1].split(‘>’)[0] + ‘>’; if (hrih.indexOf(‘/>’) == -1 && document.getElementById(threaddivs[ivd]).innerHTML.indexOf(‘</hr>’) != -1) { hrih+='</hr>’; } hroh='<hr’ + hrplus + hrparts[1].split(‘>’)[0].replace(/\//g,”) + ‘></hr>’; } if (hrparts[eval(-1 + eval(” + hrparts.length))].replace(hrih.replace(‘<hr’ + hrplus,”),”).indexOf(‘If this’ + ‘ was interesting ‘) != -1 && hrparts[eval(-1 + eval(” + hrparts.length))].replace(hrih.replace(‘<hr’ + hrplus,”),”).indexOf(‘If this’ + ‘ was interesting ‘) < 100) { reordercontent='<div style=display:none;>’ + hrparts[eval(-1 + eval(” + hrparts.length))].replace(hrih.replace(‘<hr’ + hrplus,”),”) + ‘</div>’; } else { reordercontent=hrparts[eval(-1 + eval(” + hrparts.length))].replace(hrih.replace(‘<hr’ + hrplus,”),”); } if (reordercontent.indexOf(‘<hr’) != -1) { reordercontent=reordercontent.replace(‘<hr’, ‘<hr class=hrabove id=bloghr’ + … Continue reading
Posted in eLearning, Event-Driven Programming, Tutorials
Tagged background, blog, book, border image, chapter, chronological, class, className, contents, effect, emoji, getBoundingClientRect, Javascript, linear gradient, link, order, paper, PJP, post, posting, programming, querySelectorAll, reading, ring binder, scroll, scrolling, story, table of contents, theme, thread, tutorial, TwentyTen, TwentyTen theme, whitespace, Wordpress
Leave a comment
WordPress Blog Thread Story Background Gradients Tutorial
Today we’re nuancing the “storybook” styling we developed in yesterday’s WordPress Blog Thread Story Border SVG Image Tutorial where you may have been wondering about the papers part to codeline … $atofind=”\n atofind.className=’storybook papers’; \n atofind.oncontextmenu=function(event){ event.target.style.zoom=” + eval(0.05 + eval(” + event.target.style.zoom)); }; \n”; ? Well, that was to do with how we wanted to not only make … the left hand border have that “ring binder” feel … but we also wanted … some sort of effect applied to the “storybook” background as some sort of feel whereby we might think “paper” We did not want to involve any images or CSS that was too complicated. We came across this excellent webpage and it gave us the inspiration for new such CSS styling … <style> .storybook { border-image: url(‘data:image/svg+xml,<svg style=”font-size:26px;background-color:rgb(255,255,240,0.8);border-right:1px solid black;” width=”20″ height=”20″ viewBox=”0 0 20 20″ xmlns=”http://www.w3.org/2000/svg”><text style=”opacity:0.5;” x=”15%” y=”80%”>☌</text><rect x=”18.5″ y=”0″ width=”1.5″ height=”20″ stroke-width=”1.5″ stroke=”black” fill=”black”></rect></svg>’); border-image-slice: 0 0 0 100; border-image-width: 20px; border-image-outset: 1px; border-image-repeat: repeat; padding-left: 20px; } <?php if (isset($_GET[‘putpaper’]) || 1 == 1) { // thanks to https://www.30secondsofcode.org/css/s/10-css-background-patterns/ echo ” .papers { background-color: #fefefe; background-image: linear-gradient( 30deg, rgba(83,148,253,0.05) 12%, transparent 12.5%, transparent 87%, rgba(83,148,253,0.05) 87.5%, rgba(83,148,253,0.05) ), linear-gradient( 150deg, rgba(83,148,253,0.05) 12%, transparent 12.5%, transparent 87%, rgba(83,148,253,0.05) 87.5%, rgba(83,148,253,0.05) ), linear-gradient( 30deg, rgba(83,148,253,0.05) 12%, transparent 12.5%, transparent 87%, rgba(83,148,253,0.05) 87.5%, rgba(83,148,253,0.05) ), linear-gradient( 150deg, rgba(83,148,253,0.05) 12%, transparent 12.5%, transparent 87%, rgba(83,148,253,0.05) 87.5%, rgba(83,148,253,0.05) ), linear-gradient( 60deg, rgba(83,148,253,0.05) 25%, transparent 25.5%, transparent 75%, rgba(83,148,253,0.05) 75%, rgba(83,148,253,0.05) ), linear-gradient( 60deg, rgba(83,148,253,0.05) 25%, transparent 25.5%, transparent 75%, rgba(83,148,253,0.05) 75%, rgba(83,148,253,0.05) ); background-size: 48px 84px; background-position: 0 0, 0 0, 24px 42px, 24px 42px, 0 0, 24px 42px; } “; } ?> </style> … helped out by tweaked header.php Javascript code … <?php echo ” function storyizecollect() { var divsall=document.getElementsByTagName(‘div’); for (var ivd=0; ivd<divsall.length; ivd++) { if (divsall[ivd].outerHTML.split(‘>’)[0].indexOf(‘ post type-post ‘) != -1) { threaddivs.push(” + divsall[ivd].id); } } } function storyresize(atoo) { atoo.style.width=” + atoo.getAttribute(‘data-w’) + ‘px’; //atoo.style.height=” + atoo.getAttribute(‘data-h’) + ‘px’; atoo.style.backgroundColor=’rgba(255,155,55,0.3)’; atoo.style.overflow=’hidden’; return atoo; } function storyreorder(atofind) { var hrparts=[], hroh=”, reorderedcontent=”, hrih=”, hrdone=false, hrplus=”; var atobr=atofind.getBoundingClientRect(); if ((” + atofind.getAttribute(‘data-w’)) == ‘0’) { atofind.setAttribute(‘data-w’,(” + atobr.width)); atofind.setAttribute(‘data-h’,(” + atobr.height)); } atofind.setAttribute(‘data-st’,(” + document.body.scrollTop)); for (var ivd=0; ivd<threaddivs.length; ivd++) { if (document.getElementById(threaddivs[ivd])) { if (document.getElementById(threaddivs[ivd]).innerHTML.indexOf(atofind.outerHTML) != -1 && !hrdone) { atofind.setAttribute(‘data-done’, ‘y’); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { var pwis=0; if (navigator.userAgent.match(/iPad/i)) { pwis=eval(” + document.getElementById(‘primary’).getBoundingClientRect().width); } atofind.style.width=” + eval(-40 + eval(” + document.getElementById(‘container’).getBoundingClientRect().width) – … Continue reading
Posted in eLearning, Event-Driven Programming, Tutorials
Tagged background, blog, book, border image, chronological, class, className, effect, emoji, Javascript, linear gradient, order, paper, PJP, post, posting, programming, ring binder, story, theme, thread, tutorial, TwentyTen, TwentyTen theme, Wordpress
Leave a comment
WordPress Blog Thread Story Border SVG Image Tutorial
The border-image CSS property, used well, can be a really powerful web design tool. We decided to show a user they were in, like, “storybook mode” reading our blog, further to yesterday’s WordPress Blog Thread Story Mode Tutorial, by applying a new … border-image … ala “ring binder” (via use of ☌ ☌ “conjunction” emoji symbol), only on the left … via (header.php, again) … SVG … text … using new CSS styling … <style> .storybook { border-image: url(‘data:image/svg+xml,<svg style=”font-size:20px;” width=”20″ height=”20″ viewBox=”0 0 20 20″ xmlns=”http://www.w3.org/2000/svg”><text x=”10%” y=”80%”>☌</text></svg>’); border-image-slice: 0 0 0 100; border-image-width: 20px; border-image-outset: 2px; border-image-repeat: repeat; padding-left: 20px; } </style> … referenced in a newly introduced PHP variable … <?php $atofind=”\n atofind.className=’storybook papers’; \n atofind.oncontextmenu=function(event){ event.target.style.zoom=” + eval(0.05 + eval(” + event.target.style.zoom)); }; \n”; ?> … used in “storybook” class specific Javascript … <?php echo ” function storyizecollect() { var divsall=document.getElementsByTagName(‘div’); for (var ivd=0; ivd<divsall.length; ivd++) { if (divsall[ivd].outerHTML.split(‘>’)[0].indexOf(‘ post type-post ‘) != -1) { threaddivs.push(” + divsall[ivd].id); } } } function storyresize(atoo) { atoo.style.width=” + atoo.getAttribute(‘data-w’) + ‘px’; //atoo.style.height=” + atoo.getAttribute(‘data-h’) + ‘px’; atoo.style.backgroundColor=’rgba(255,155,55,0.3)’; atoo.style.overflow=’hidden’; return atoo; } function storyreorder(atofind) { var hrparts=[], hroh=”, reorderedcontent=”, hrih=”, hrdone=false, hrplus=”; var atobr=atofind.getBoundingClientRect(); if ((” + atofind.getAttribute(‘data-w’)) == ‘0’) { atofind.setAttribute(‘data-w’,(” + atobr.width)); atofind.setAttribute(‘data-h’,(” + atobr.height)); } atofind.setAttribute(‘data-st’,(” + document.body.scrollTop)); for (var ivd=0; ivd<threaddivs.length; ivd++) { if (document.getElementById(threaddivs[ivd])) { if (document.getElementById(threaddivs[ivd]).innerHTML.indexOf(atofind.outerHTML) != -1 && !hrdone) { atofind.setAttribute(‘data-done’, ‘y’); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { var pwis=0; if (navigator.userAgent.match(/iPad/i)) { pwis=eval(” + document.getElementById(‘primary’).getBoundingClientRect().width); } atofind.style.width=” + eval(-40 + eval(” + document.getElementById(‘container’).getBoundingClientRect().width) – pwis) + ‘px’; } else { atofind.style.width=” + eval(-40 + eval(” + document.getElementById(‘container’).getBoundingClientRect().width) – eval(” + document.getElementById(‘primary’).getBoundingClientRect().width)) + ‘px’; } atofind.style.overflow=’scroll’; atofind.style.borderLeft=’1px dashed red’; atofind.style.WebkitOverflowScrolling=’touch’; <?php echo $atofind; ?> if (document.getElementById(threaddivs[ivd]).innerHTML.indexOf(‘<hr title=’) != -1) { hrplus=’ title=’; } hrparts=document.getElementById(threaddivs[ivd]).innerHTML.split(‘<hr’ + hrplus); if (eval(” + hrparts.length) > 1) { hrih='<hr’ + hrplus + hrparts[1].split(‘>’)[0] + ‘>’; if (hrih.indexOf(‘/>’) == -1 && document.getElementById(threaddivs[ivd]).innerHTML.indexOf(‘</hr>’) != -1) { hrih+='</hr>’; } hroh='<hr’ + hrplus + hrparts[1].split(‘>’)[0].replace(/\//g,”) + ‘></hr>’; } if (hrparts[eval(-1 + eval(” + hrparts.length))].replace(hrih.replace(‘<hr’ + hrplus,”),”).indexOf(‘If this’ + ‘ was interesting ‘) != -1 && hrparts[eval(-1 + eval(” + hrparts.length))].replace(hrih.replace(‘<hr’ + hrplus,”),”).indexOf(‘If this’ + ‘ was interesting ‘) < 100) { reordercontent='<div style=display:none;>’ + hrparts[eval(-1 + eval(” + hrparts.length))].replace(hrih.replace(‘<hr’ + hrplus,”),”) + ‘</div>’; } else { reordercontent=hrparts[eval(-1 + eval(” + hrparts.length))].replace(hrih.replace(‘<hr’ + hrplus,”),”); } for (var iivd=eval(-2 + eval(” + hrparts.length)); iivd>=0; iivd–) { if (hrparts[iivd].replace(hrih.replace(‘<hr’ + hrplus,”),”).indexOf(‘If this’ + ‘ was interesting … Continue reading
Posted in eLearning, Event-Driven Programming, Tutorials
Tagged blog, book, border image, chronological, class, className, emoji, Javascript, order, PJP, post, posting, programming, ring binder, story, theme, thread, tutorial, TwentyTen, TwentyTen theme, Wordpress
Leave a comment
WordPress Blog Thread Story Mode Tutorial
We feel a “tweak” coming on. It’s been a while since the last such “tweak”. We’re talking about doing the frequent … good ol’ “tweaking” of header.php … owned by our … wordpress.org based WordPress Blog … theme TwentyTen … means by which we … can “tweak” in the morning, at supper time, and in small cubicles the look and feel and “way it works” aspects to the blog you are reading Yes, it’s mainly header.php we use, though do remember functions.php, footer.php, 404.php and some plugins as well, but the “tweaking” of header.php is the easiest, for most jobs. Picking up from the, largely, document.body onload event interventions we make happen this way, we latch onto a previous intervention, and “retweak” that (past work related to WordPress Is Mentioned By Less Recently Modified Tutorial), today, to add … New “Story Mode” display of a thread of WordPress blog postings … this use of “thread” not being a technical term, rather how we describe how we string together related blog postings (that usually follow each other reverse chronologically (ie. latest blog posting first)) into, what we term, a “blog posting thread”. But yesterday, suddenly, it dawned on us, that this “blog posting thread” can be confusing for readers coming in to the discussion half way through, or near the end, so why not offer them a new 📖 (📖 … ie. story) based (adding to a global var threaddivs=[]; statement part) … <?php echo ” function storyizecollect() { var divsall=document.getElementsByTagName(‘div’); for (var ivd=0; ivd<divsall.length; ivd++) { if (divsall[ivd].outerHTML.split(‘>’)[0].indexOf(‘ post type-post ‘) != -1) { threaddivs.push(” + divsall[ivd].id); } } } function storyresize(atoo) { //atoo.style.width=” + atoo.getAttribute(‘data-w’) + ‘px’; //atoo.style.height=” + atoo.getAttribute(‘data-h’) + ‘px’; atoo.style.backgroundColor=’rgba(255,155,55,0.3)’; atoo.style.overflow=’hidden’; return atoo; } function storyreorder(atofind) { var hrparts=[], hroh=”, reorderedcontent=”, hrih=”, hrdone=false, hrplus=”; var atobr=atofind.getBoundingClientRect(); atofind.setAttribute(‘data-w’,(” + atobr.width)); atofind.setAttribute(‘data-h’,(” + atobr.height)); atofind.setAttribute(‘data-st’,(” + document.body.scrollTop)); for (var ivd=0; ivd<threaddivs.length; ivd++) { if (document.getElementById(threaddivs[ivd])) { if (document.getElementById(threaddivs[ivd]).innerHTML.indexOf(atofind.outerHTML) != -1 && !hrdone) { atofind.setAttribute(‘data-done’, ‘y’); atofind.style.overflow=’scroll’; atofind.style.borderLeft=’1px dashed red’; atofind.style.WebkitOverflowScrolling=’touch’; atofind.style.zoom=’0.4′; if (document.getElementById(threaddivs[ivd]).innerHTML.indexOf(‘<hr title=’) != -1) { hrplus=’ title=’; } hrparts=document.getElementById(threaddivs[ivd]).innerHTML.split(‘<hr’ + hrplus); if (eval(” + hrparts.length) > 1) { hrih='<hr’ + hrplus + hrparts[1].split(‘>’)[0] + ‘>’; if (hrih.indexOf(‘/>’) == -1 && document.getElementById(threaddivs[ivd]).innerHTML.indexOf(‘</hr>’) != -1) { hrih+='</hr>’; } hroh='<hr’ + hrplus + hrparts[1].split(‘>’)[0].replace(/\//g,”) + ‘></hr>’; } if (hrparts[eval(-1 + eval(” + hrparts.length))].replace(hrih.replace(‘<hr’ + hrplus,”),”).indexOf(‘If this’ + ‘ was interesting ‘) != -1 && hrparts[eval(-1 + eval(” + hrparts.length))].replace(hrih.replace(‘<hr’ … Continue reading
Posted in eLearning, Event-Driven Programming, Tutorials
Tagged blog, chronological, Javascript, order, PJP, post, posting, programming, story, theme, thread, tutorial, TwentyTen, TwentyTen theme, Wordpress
Leave a comment
WordPress Blog Posting Thread Book Primer Tutorial
What’s with the word “book” in today’s blog posting title? Glad you asked?! The idea of a “thread of blog postings” is a concept we keep up in our blog posting content managed by the posting authors. On a lot of tutorials it is the history before that we string together in this contents, as for a … blog posting tutorial feed that presents from newest (up the top) to oldest (down the bottom) … which is good for “non-bingeing” awaiting “hot off the press content” readers … but what about people who want to “start from scratch”, later, with a big picture view (helped out by seeing the topic, or group of related concepts, progressively)? … so today we present an emoji button 🔀 … <a id=”oeimage-pair-fitting-into-a-given-dimension-sources-tutorial” title=”Change order of blog posts (now newest to oldest) to oldest through to newest (like a book)” target=”_blank” style=”text-decoration:none;cursor:pointer;” onclick=”hrrearrange(this);”>🔀</a> … added via PHP … <?php echo ” cps[jiicp].innerHTML+=’ <a id=”oe’ + h1cps[iicp].innerHTML.split(‘ id=”d’)[1].split(‘”‘)[0] + ‘” title=”Change order of blog posts (now newest to oldest) to oldest through to newest (like a book)” target=_blank style=”text-decoration:none;cursor:pointer;” onclick=”hrrearrange(this);”>🔀</a<‘; “; ?> … press means by which … blog postings can be reworked into an oldest (up the top) to newest (down the bottom) “book” compilation of the content up to the time of the blog posting you enter in examining This “book” presentation is always chronological, and so for context here, we add a select (dropdown) element with option element members of the form … [Blog Posting Title] (YYYYMMDD) … the click of which hashtag navigates to that part of the “book” (like a chapter, if you will). Code changes for this all appear in our WordPress blog’s TwentyTen theme’s (good ol’) header.php that work with a new … <?php <div style=’display:none’ id=’drefresh’></div> ?> … as per … <?php echo ” var divcih=”, antidivcih=”, hrsa=[], hroh=”, twobits=”, cdivid=’con’ + ‘t’ + ‘ent’, onlok=true; function hrrearrange(ahrro) { var aid=” + ahrro.id; var honetoif=”; var firsttitle=”; var lasttitle=”; var selindex=’ <select class=ptpico style=”display:inline-block;vertical-align:top;” size=1 title=”Posting thread posts in chronological order” onchange=”location.href=’ + “‘” + ‘#’ + “‘” + ‘ + this.value + ‘ + “‘” + ‘#andabit=-70’ + “‘” + ‘; var tsels=docgetclass(‘ + “‘” + ‘ptpico’ + “‘” + ‘, ‘ + “‘” + ‘select’ + “‘” + ‘); for (var iij=0; iij<tsels.length; iij++) { tsels[iij].value=this.value; }”><option class=copt value=detrefresh></option></select>’; var appendixnum=0; if (navigator.userAgent.match(/iPad/i)) { //alert(‘here at hrrearrange’); } … Continue reading
Posted in eLearning, Event-Driven Programming, Tutorials
Tagged blog, book, hashtag, header.php, Javascript, newset, oldest, order, PHP, post, programming, thread, tutorial, Wordpress
Leave a comment


Thanks. Since then, a Shower Songs project at https://www.rjmprogramming.com.au/HTMLCSS/shower_songs.html is an improvement regarding "Radio Play" on mobile platforms.