{"id":48970,"date":"2020-05-10T03:01:04","date_gmt":"2020-05-09T17:01:04","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=48970"},"modified":"2020-05-09T17:35:05","modified_gmt":"2020-05-09T07:35:05","slug":"html-canvas-pros-and-cons-inline-html-email-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/html-canvas-pros-and-cons-inline-html-email-tutorial\/","title":{"rendered":"HTML Canvas Pros and Cons Inline HTML Email Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/prosandcons.html\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"HTML Canvas Pros and Cons Inline HTML Email Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/prosandcons_makeover.jpg\" title=\"HTML Canvas Pros and Cons Inline HTML Email Tutorial\"    \/><\/a><p class=\"wp-caption-text\">HTML Canvas Pros and Cons Inline HTML Email Tutorial<\/p><\/div>\n<p>Keeping with the theme of HTML(5) <a target=_blank title='HTML Canvas element information from w3schools' href='http:\/\/www.w3schools.com\/tags\/ref_canvas.asp'>canvas<\/a> elements lately, let&#8217;s revisit the &#8220;Pros and Cons&#8221; web application of <a title='HTML Canvas Pros and Cons Font Colours Tutorial' href='#htmlcpcfct'>HTML Canvas Pros and Cons Font Colours Tutorial<\/a>, because it is common for the &#8220;blank canvas&#8221; things of life to be the most intriguing and open to a lifetime of learning.  The other feature of a &#8220;blank canvas&#8221; is that the user has scope to use their imagination more fully.<\/p>\n<p>Today&#8217;s improvements to &#8220;Pros and Cons&#8221; are both &#8230;<\/p>\n<table style=\"width:100%;\">\n<tr>\n<th>Aesthetic<\/th>\n<th> &#8230; as well as &#8230;<\/th>\n<th>Collaboration Functional<\/th>\n<\/tr>\n<tr>\n<td colspan=2>Font size tweaking (bigger)<\/td>\n<td>Inline HTML Email (new) button &#8230; uses &#8230;<\/td>\n<\/tr>\n<tr>\n<td colspan=2>Use of <a target=_blank title='HTML canvas shadowBlur Property information from W3schools' href='https:\/\/www.w3schools.com\/tags\/canvas_shadowblur.asp'>shadowBlur<\/a> property gives 3D look<\/td>\n<td><a target=_blank title='Ajax information from Wikipedia ... thanks' href='http:\/\/en.wikipedia.org\/wiki\/Ajax_%28programming%29'>Ajax<\/a> and <a target=_blank title='FormData object information' href='https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/FormData'>FormData<\/a> objects &#8230; so that &#8230;<\/td>\n<\/tr>\n<tr>\n<td colspan=2>Positional tweaking &#8230; allows for &#8230;<\/td>\n<td>Emailee of Inline HTML Email &#8220;Pros and Cons&#8221; report can Save to Photos (at least on iPhone and iPad via two finger gesture option in iOS Mail app) &#8230; via &#8230;<\/td>\n<\/tr>\n<\/table>\n<p><code><br \/>\nfunction emailhtmlit() {<br \/>\n var pemail=prompt(\"Who do you want to email to?  Comma separate a To emailee from optional From emailer.\", document.getElementById('mylemail').value);<br \/>\n if (pemail != null) {<br \/>\n   if (pemail.replace(\"fill.in.email@address\", \"\").indexOf(\"@\") != -1) {<br \/>\n   document.getElementById('mylemail').value=pemail;<br \/>\n  var zhr = new XMLHttpRequest();<br \/>\n  var zform=new FormData();<br \/>\n  zform.append('inline', encodeURIComponent('&lt;body&gt;&lt;img src=\"' + document.getElementById('canvaselement').toDataURL() + '\"&gt;&lt;\/img&gt;&lt;\/body&gt;'));<br \/>\n  if (pemail.replace(\/\\;\/g,',').indexOf(',') != -1) {<br \/>\n  zform.append('to', pemail.replace(\/\\;\/g,',').split(',')[0]);<br \/>\n  zform.append('bcc', pemail.replace(\/\\;\/g,',').split(',')[1]);<br \/>\n  zform.append('subj', 'My Pros and Cons ... ' + topic.split('&lt;')[0].split(String.fromCharCode(10))[0] + ' from ' + pemail.replace(\/\\;\/g,',').split(',')[1]);<br \/>\n  } else {<br \/>\n  zform.append('to', pemail);<br \/>\n  zform.append('subj', 'My Pros and Cons ... ' + topic.split('&lt;')[0].split(String.fromCharCode(10))[0]);<br \/>\n  }<br \/>\n  zform.append('tdhuhta', encodeURIComponent('&lt;body&gt;&lt;img src=\"' + document.getElementById('canvaselement').toDataURL() + '\"&gt;&lt;\/img&gt;&lt;\/body&gt;'));<br \/>\n  zhr.open('post', '\/\/www.rjmprogramming.com.au\/HTMLCSS\/emailhtml.php', true);<br \/>\n  zhr.send(zform);<br \/>\n   }<br \/>\n }<br \/>\n}<br \/>\n<\/code><\/p>\n<p> &#8230; this Inline HTML Email technique (where emailee sees the report as soon as they open the email, at least for macOS and iOS Mail app email client applications) requiring no web server files hanging around bar mail server log files (that get recycled anyway).<\/p>\n<p>Please feel free to try <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/prosandcons.html---GETME\" title=\"prosandcons.html\">the changed<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/prosandcons.html---GETME\" title=\"prosandcons.html\">prosandcons.html<\/a>&#8216;s <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/prosandcons.html\" title=\"Click picture\">live run<\/a> link, to see this in action.   Thanks to <a target=_blank title='Useful link, thanks' href='https:\/\/www.verywellfit.com\/soup-diet-how-it-works-4589772'>Soup Diet<\/a> webpage for the inspiration for &#8220;Pros and Cons&#8221; report featured in today&#8217;s <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/prosandcons_makeover.jpg\" title=\"Tiutorial picture\">tutorial picture<\/a>.<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/html-canvas-pros-and-cons-inline-html-email-tutorial\/'>New HTML Canvas Pros and Cons Inline HTML Email Tutorial<\/a>.<\/p-->\n<hr>\n<p id='htmlcpcfct'>Previous relevant <a target=_blank title='HTML Canvas Pros and Cons Font Colours Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/html-canvas-pros-and-cons-font-colours-tutorial\/'>HTML Canvas Pros and Cons Font Colours Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/ProsAndCons\/More\/FontColours\/\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"HTML Canvas Pros and Cons Font Colours Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/ProsAndCons\/More\/FontColours\/ProsAndCons_More_FontColours.jpg\" title=\"HTML Canvas Pros and Cons Font Colours Tutorial\"    \/><\/a><p class=\"wp-caption-text\">HTML Canvas Pros and Cons Font Colours Tutorial<\/p><\/div>\n<p>Yesterday&#8217;s <a target=_blank title='HTML Canvas Pros and Cons Report Primer Tutorial' href='#hcpacrpt'>HTML Canvas Pros and Cons Report Primer Tutorial<\/a> as shown below, was the start of our push for improvement, and today we continue with that task.<\/p>\n<p>We think the Pros and Cons report can benefit from user control over report colours for the circles and the text, as well as the size and font family of that text.<\/p>\n<p>Lots of people think better with colour coding.  Think, on occasions, it certainly helps me, especially when skimming for information, it feels natural to skim effectively when colours guide your eyes in their task.<\/p>\n<p>The font size can certainly help in a similar way, and, with so much information passing our notice from the web font family styles are quietly <i>conditioning<\/i> expectations about content.<\/p>\n<p>So today we critique the humorous &#8220;topic&#8221; of &#8220;Being Too Serious&#8221;.  And why is that?  Well, wanted to show you that I.T. classic font <a target=_blank href='http:\/\/en.wikipedia.org\/wiki\/Comic_Sans' title='Comic Sans MS information from Wikipedia'>&#8220;Comic Sans MS&#8221;<\/a> and what I found to be a candidate for the most serious web font <a target=_blank href='http:\/\/hypervocal.com\/news\/2012\/want-to-be-taken-seriously-use-the-font-baskerville\/' title='Baskerville font'>&#8220;Baskerville&#8221;<\/a>.  Thanks to <a target=_blank title='Being Too Serious' href='http:\/\/www.philforhumanity.com\/Too_Serious.html'>this link<\/a> for ideas.<\/p>\n<p>There is a serious message here though &#8230; just think Shakespeare and his &#8220;fools&#8221; &#8230; if you are serious with a Pros and Cons Report and you want to be taken seriously, words like &#8220;Too&#8221; in &#8220;Being Too Serious&#8221; show valued judgements even before you have started, and you can be accused of bias.  The best way to utilize the &#8220;objective&#8221; qualities of a program recording your Pros and Cons, is to start out with a topic with no valued judgements in the wording of its topic &#8230; so &#8220;Being Very Serious&#8221; is better than &#8220;Being Too Serious&#8221; and perhaps &#8220;Being Serious&#8221; is better still, but not very attention grabbing.<\/p>\n<p>As with yesterday&#8217;s scenario, we continue to use the HTML <a target=_blank title='HTML Canvas element information from w3schools' href='http:\/\/www.w3schools.com\/tags\/ref_canvas.asp'>Canvas<\/a> element, as a great tool for many types of games or other types of functionality, especially where you draw your own graphics based on interaction from the user.<\/p>\n<p>So what does today&#8217;s additional font and colours functionality need for its total implementation (reflected by these HTML source code <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/prosandcons.html--GETME\" title=\"prosandcons.html\">changes<\/a> featuring huge use for the JavaScript <a target=_blank title='JavaScript eval information from w3schools' href='http:\/\/www.w3schools.com\/jsref\/jsref_eval.asp'>eval<\/a> function)?<\/p>\n<ul>\n<li>a place to put the functionality &#8230; we decide on putting it within the HTML form element<\/li>\n<li>a mechanism on which to put the functionality &#8230; we decide on using <a target=_blank title='HTML a link tag information from w3schools' href='http:\/\/www.w3schools.com\/tags\/tag_a.asp'><i>a<\/i><\/a> HTML link elements &#8230; why?<\/li>\n<ol>\n<li>they take very little additional room as <i>a<\/i> HTML link elements &#8230; and we are running short of room<\/li>\n<li>the <i>a<\/i> HTML link elements can be hovered over for non-touch users, at least, to receive information regarding the current settings<\/li>\n<li>the <i>a<\/i> HTML link elements can be clicked on to cause JavaScript <a target=_blank title='JavaScript prompt box information from w3schools' href='http:\/\/www.w3schools.com\/js\/js_popup.asp'>prompt<\/a> boxes to open to facilitate user changes to font and colour settings<\/li>\n<li>the <i>a<\/i> HTML link elements can be styled with the colours and font families chosen &#8230; cute, huh?<\/li>\n<\/ol>\n<li>a change to the canvas element&#8217;s logic for clearing itself before each new reassessment of canvas contents &#8230; now a total clearing is conditional, apart from when issues are deleted or topics reset &#8230; otherwise only the <i>total<\/i> section is cleared &#8230; enabling mixed font and colour Con and Pro bubble &#8220;issue&#8221; records<\/li>\n<\/ul>\n<p>Continuing on with yesterday&#8217;s thinking, also, it occurred to me that there was enough complexity here, with our &#8220;Being Too Serious&#8221; Pros and Cons Report, to think about how to design a tool to help.  Have always thought the concept of an &#8220;issue&#8221;, or a set of &#8220;issues&#8221; to do with a &#8220;topic&#8221; sounds the go.  However, it occurs to me that this is not a great model without some mechanism for a user-defined &#8220;weighting&#8221; of the importance of any one &#8220;issue&#8221; to their thought patterns.  And so that&#8217;s what we have today &#8230; a &#8220;topic&#8221; with a set of &#8220;issues&#8221; that the user supplies with a &#8220;rating&#8221; that is positive for a Pro and negative for a Con, and finally that &#8220;issue&#8221; is given a user-defined &#8220;weight&#8221;, to add that personal touch possibility to the decision making process, but objective enough, in that the user will keep thinking of &#8220;issues&#8221;, methinks &#8230; &#8220;me hopes&#8221;.<\/p>\n<p>Here is the HTML programming source code for today&#8217;s tutorial you could call <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/prosandcons.html--GETME\" title=\"prosandcons.html\">prosandcons.html<\/a> and it changed from yesterday as per <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/prosandcons.html--GETME\" title=\"prosandcons.html\">this link<\/a>.<\/p>\n<p>There is (unchanged) functionality in this game to email a snapshot of the game and the PHP programming source code that helps facilitate this functionality for today&#8217;s tutorial you could call <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/prosandcons.php_GETME\" title=\"prosandcons.php\">prosandcons.php<\/a><\/p>\n<p>Our &#8220;Being Too Serious&#8221; topic personalized thinking came up with the email linking you to this <a target=_blank title='WordPress.com versus WordPress.org' href='http:\/\/www.rjmprogramming.com.au\/PHP\/prosandcons_2015_4_17_58_16.png'>Pros and Cons<\/a> report.<\/p>\n<p>Try a pros versus cons issue yourself, and email your opinions forward, as you wish with our live run <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/prosandcons.html\" title='Pros and Cons game'>here<\/a>.  Hope to see you again soon.<\/p>\n<hr>\n<p id='hcpacrpt'>Previous relevant <a target=_blank title='HTML Canvas Pros and Cons Report Primer Tutorial' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=13872'>HTML Canvas Pros and Cons Report Primer Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/ProsAndCons\/More\/\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"HTML Canvas Pros and Cons Report Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/ProsAndCons\/More\/ProsAndCons_More-00of.jpg\" title=\"HTML Canvas Pros and Cons Report Primer Tutorial\"    \/><\/a><p class=\"wp-caption-text\">HTML Canvas Pros and Cons Report Primer Tutorial<\/p><\/div>\n<p>Yesterday&#8217;s <a target=_blank title='HTML Canvas Pros and Cons Game Primer Tutorial' href='#hcpacpt'>HTML Canvas Pros and Cons Game Primer Tutorial<\/a> as shown below, had lots of scope for improvement, but feel that it is a good idea, so let&#8217;s set out on that task.<\/p>\n<p>A Pros and Cons report, by the very nature of it, could be wordy, and it would be good to be able to have a wider left hand side <a target=_blank title='HTML Canvas element information from w3schools' href='http:\/\/www.w3schools.com\/tags\/ref_canvas.asp'>canvas<\/a> element.<\/p>\n<p>How do you do this when the right hand side form is so critical to the whole premise?  And I say to all you believers &#8230;<\/p>\n<blockquote><p>\n&#8230; let things float &#8230; <strike>man<\/strike> person &#8230;\n<\/p><\/blockquote>\n<p> &#8230; and so we do today as the default approach, though we let you go back to the older method should you prefer that &#8230; for a limited period &#8230; what &#8220;sale&#8221; doesn&#8217;t have a &#8220;limited period&#8221; after all?<\/p>\n<p>The CSS ideas revolve around similar ones which kept cropping up with our <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/wordpress\/?tag=overlay\" title='Overlay blog postings here'>&#8220;overlay&#8221;<\/a> series of blog posts, namely (to treat the form with styling such as) &#8230;<\/p>\n<ul>\n<li><a target=_blank title='CSS z-index information from w3schools' href='http:\/\/www.w3schools.com\/cssref\/pr_pos_z-index.asp'>z-index<\/a><\/li>\n<li><a target=_blank title='CSS position:absolute information from w3schools' href='http:\/\/www.w3schools.com\/cssref\/pr_class_position.asp'>position:absolute<\/a><\/li>\n<li><a target=_blank title='CSS opacity information from w3schools' href='http:\/\/www.w3schools.com\/cssref\/css3_pr_opacity.asp'>opacity<\/a><\/li>\n<\/ul>\n<p>As we mentioned yesterday, the HTML <a target=_blank title='HTML Canvas element information from w3schools' href='http:\/\/www.w3schools.com\/tags\/ref_canvas.asp'>Canvas<\/a> element is great for many types of games especially where you draw your own graphics based on interaction from the user.<\/p>\n<p>Today we drop the Pros and Cons &#8220;game&#8221; nomenclature and call it for what it is, more, by referring to it as a &#8220;report&#8221;.  Perhaps it may suit you as a way to be more objective about your decision making.<\/p>\n<p>So the thoughts behind this version came from a topic of interest I&#8217;ve been looking into recently &#8230; the benefits and otherwise of Simple Carbohydrates versus Complex Carbohydrates, to your health and diet.  One inspirational website for the research was <a target=_blank title='Simple versus Complex Carbohydrates' href='https:\/\/trainelite.com\/simple-vs-complex-carbs\/'>here<\/a> &#8230; thanks.<\/p>\n<p>Continuing on with yesterday&#8217;s thinking, it occurred to me that there was enough complexity here to think about how to design a tool to help.  Have always thought the concept of an &#8220;issue&#8221;, or a set of &#8220;issues&#8221; to do with a &#8220;topic&#8221; sounds the go.  However, it occurs to me that this is not a great model without some mechanism for a user-defined &#8220;weighting&#8221; of the importance of any one &#8220;issue&#8221; to their thought patterns.  And so that&#8217;s what we have today &#8230; a &#8220;topic&#8221; with a set of &#8220;issues&#8221; that the user supplies with a &#8220;rating&#8221; that is positive for a Pro and negative for a Con, and finally that &#8220;issue&#8221; is given a user-defined &#8220;weight&#8221;, to add that personal touch possibility to the decision making process, but objective enough, in that the user will keep thinking of &#8220;issues&#8221;, methinks &#8230; &#8220;me hopes&#8221;.<\/p>\n<p>Here is the HTML programming source code for today&#8217;s tutorial you could call <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/prosandcons.html-GETME\" title=\"prosandcons.html\">prosandcons.html<\/a> and it changed from yesterday as per <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/prosandcons.html-GETME\" title=\"prosandcons.html\">this link<\/a>.<\/p>\n<p>There is (unchanged) functionality in this game to email a snapshot of the game and the PHP programming source code that helps facilitate this functionality for today&#8217;s tutorial you could call <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/prosandcons.php_GETME\" title=\"prosandcons.php\">prosandcons.php<\/a><\/p>\n<p>Our &#8220;Simple versus Complex Carbohydrates&#8221; topic personalized thinking came up with the email linking you to this <a target=_blank title='WordPress.com versus WordPress.org' href='http:\/\/www.rjmprogramming.com.au\/PHP\/prosandcons_2015_4_15_14_28.png'>Pros and Cons<\/a> report.<\/p>\n<p>Try a pros versus cons issue yourself, and email your opinions forward, as you wish with our live run <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/prosandcons.html\" title='Pros and Cons game'>here<\/a>.  Hope to &#8230; see &#8216;ya in a while Croc O. Dial.<\/p>\n<hr>\n<p id='hcpacpt'>Previous relevant <a target=_blank title='HTML Canvas Pros and Cons Game Primer Tutorial' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=13846'>HTML Canvas Pros and Cons Game Primer Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/ProsAndCons\/\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"HTML Canvas Pros and Cons Game Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/ProsAndCons\/ProsAndCons-00of.jpg\" title=\"HTML Canvas Pros and Cons Game Primer Tutorial\"    \/><\/a><p class=\"wp-caption-text\">HTML Canvas Pros and Cons Game Primer Tutorial<\/p><\/div>\n<p>The HTML <a target=_blank title='HTML Canvas element information from w3schools' href='http:\/\/www.w3schools.com\/tags\/ref_canvas.asp'>Canvas<\/a> element is great for many types of games especially where you draw your own graphics based on interaction from the user.<\/p>\n<p>Today you may consider our Pros and Cons &#8220;game&#8221; to be more of a &#8220;decision making tool&#8221; perhaps.  Perhaps it may suit you as a way to be more objective about your decision making.<\/p>\n<p>So the thoughts behind this first version came from a topic of interest I&#8217;ve been looking into recently &#8230; the benefits and otherwise of <a target=_blank href='http:\/\/www.wordpress.com' title='WordPress.com'>WordPress.com<\/a> blog websites versus <a target=_blank href='http:\/\/www.wordpress.org' title='WordPress.org'>WordPress.org<\/a> blog websites, as this blog is, by the way.  One inspirational website for the research was <a target=_blank title='WordPress.com versus WordPress.org' href='http:\/\/diythemes.com\/thesis\/rtfm\/differences-wordpress-com-org\/'>here<\/a> &#8230; thanks.<\/p>\n<p>It occurred to me that there was enough complexity here to think about how to design a tool to help.  Have always thought the concept of an &#8220;issue&#8221;, or a set of &#8220;issues&#8221; to do with a &#8220;topic&#8221; sounds the go.  However, it occurs to me that this is not a great model without some mechanism for a user-defined &#8220;weighting&#8221; of the importance of any one &#8220;issue&#8221; to their thought patterns.<\/p>\n<p>So that&#8217;s what we have today &#8230; a &#8220;topic&#8221; with a set of &#8220;issues&#8221; that the user supplies with a &#8220;rating&#8221; that is positive for a Pro and negative for a Con, and finally that &#8220;issue&#8221; is given a user-defined &#8220;weight&#8221;, to add that personal touch possibility to the decision making process, but objective enough, in that the user will keep thinking of &#8220;issues&#8221;, methinks &#8230; &#8220;me hopes&#8221;.<\/p>\n<p>Here is the HTML programming source code for today&#8217;s tutorial you could call <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/prosandcons.html_GETME\" title=\"prosandcons.html\">prosandcons.html<\/a><\/p>\n<p>There is functionality in this game to email a snapshot of the game and the PHP programming source code that helps facilitate this functionality for today&#8217;s tutorial you could call <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/prosandcons.php_GETME\" title=\"prosandcons.php\">prosandcons.php<\/a><\/p>\n<p>Our &#8220;WordPress.com versus WordPress.org&#8221; topic personalized thinking came up with the email linking you to this <a target=_blank title='WordPress.com versus WordPress.org' href='http:\/\/www.rjmprogramming.com.au\/PHP\/prosandcons_2015_3_20_9_0.png'>Pros and Cons<\/a> report.<\/p>\n<p>Try a pros versus cons issue yourself, and email your opinions forward, as you wish with our live run <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/prosandcons.html?nofloat=nofloat\" title='Pros and Cons game'>here<\/a>.  Hope to &#8230; see &#8216;ya later Alli Gator.<\/p>\n<p><b>Did you know?<\/b><\/p>\n<p>The fact that we felt like putting things so much in double quotes above is pretty much a <a target=_blank title='Lay down misere information from Wikipedia ... thanks' href='http:\/\/en.wikipedia.org\/wiki\/Mis\u00e8re'>&#8220;lay down misere&#8221;<\/a> indicator that this web application could well suit an (alternative) <a target=_blank title='OOP information from Wikipedia ... thanks' href='http:\/\/en.wikipedia.org\/wiki\/Object-oriented_programming'>Object Oriented<\/a> (ie. OOP) solution also, where the double quoted words could well be classes in your software design.  Even though the basis of this web application only needs the HTML (the PHP usage is a bit optional, but useful (because the server-side is needed to create the snapshot image file, on the server, later used as a link in the email)) you may wonder how OOP ideas relate to HTML, but OOP can very much play a part in the way you code your <a target=_blank title='Object Oriented JavaScript information' href='https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Introduction_to_Object-Oriented_JavaScript'>JavaScript<\/a>, and in seeking out solutions here, you may even end up exploring <a target=_blank title='Ajax OOP information from Wikipedia ... thanks' href='http:\/\/en.wikipedia.org\/wiki\/AJAX.OOP'>Ajax<\/a> techniques.  The combination of JavaScript and Ajax can make your web application be, or at least feel, as if it is totally client-based.<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d13846' onclick='var dv=document.getElementById(\"d13846\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?tag=canvas\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d13846' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d13846' onclick='var dv=document.getElementById(\"d13872\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?tag=Javascript\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d13872' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d13888' onclick='var dv=document.getElementById(\"d13888\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?tag=CSS\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d13888' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d48970' onclick='var dv=document.getElementById(\"d48970\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/html-email\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d48970' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Keeping with the theme of HTML(5) canvas elements lately, let&#8217;s revisit the &#8220;Pros and Cons&#8221; web application of HTML Canvas Pros and Cons Font Colours Tutorial, because it is common for the &#8220;blank canvas&#8221; things of life to be the &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/html-canvas-pros-and-cons-inline-html-email-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,12,14,37],"tags":[69,184,281,452,2730,576,652,738,997,1001,1054,1572,3296,1238,1319],"class_list":["post-48970","post","type-post","status-publish","format-standard","hentry","category-ajax","category-elearning","category-event-driven-programming","category-tutorials","tag-ajax","tag-canvas","tag-css","tag-form","tag-formdata","tag-html","tag-javascript","tag-mail","tag-programming","tag-pros-and-cons","tag-report","tag-shadow","tag-shadowblur","tag-table","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/48970"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=48970"}],"version-history":[{"count":4,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/48970\/revisions"}],"predecessor-version":[{"id":48974,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/48970\/revisions\/48974"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=48970"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=48970"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=48970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}