{"id":18180,"date":"2015-11-09T05:01:21","date_gmt":"2015-11-08T19:01:21","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=18180"},"modified":"2016-06-03T10:05:35","modified_gmt":"2016-06-03T00:05:35","slug":"esl-under-the-stairs-game-overlay-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/esl-under-the-stairs-game-overlay-primer-tutorial\/","title":{"rendered":"ESL Under The Stairs Game Overlay Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href='http:\/\/www.rjmprogramming.com.au\/pre_under_the_stairs.html' title='ESL Under The Stairs Game Overlay Primer Tutorial'><img decoding=\"async\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/pre_under_the_stairs.jpg\"  \/><\/a><p class=\"wp-caption-text\">ESL Under The Stairs Game Overlay Primer Tutorial<\/p><\/div>\n<p>The HTML <a target=_blank title='HTML map element information from w3schools' href='http:\/\/www.w3schools.com\/tags\/tag_map.asp'>map<\/a> element can be used in a variety of ways, two of which we hone in on with today&#8217;s ESL Vocabulary game &#8220;Under the Stairs&#8221;, a revisit of our previous <a target=_blank title='English Learning - Vocabulary - Under The Stairs' href='#elvuts'>English Learning &#8211; Vocabulary &#8211; Under The Stairs<\/a> is shown below, where that same HTML map element used then, today, starts as &#8230;<\/p>\n<ol>\n<li>a jigsaw &#8220;overlay&#8221; to the underlying image (in that we try to cover the whole area of the image with clickable HTML <a target=_blank title='HTML area element information from w3schools' href='http:\/\/www.w3schools.com\/tags\/tag_area.asp'>area<\/a> &#8220;polygon&#8221; segments (the so called &#8220;Click and be Prompted&#8221; mode of use)) &#8230; but if the user selects a &#8220;Find Prompted Object&#8221; mode of use that same HTML map element is reworked to become like &#8230;<\/li>\n<li>a &#8220;Where&#8217;s Wally&#8221; scenario where the computer prompts the user for what they should click on, where the HTML map element has one defined HTML area tag plus one other default &#8220;nonhref&#8221; HTML area tag<\/li>\n<\/ol>\n<p>Again, we are in the area of study of &#8220;overlay&#8221;, the HTML map tag being a well established overlay method linking image data with co-ordinate intelligence, still a useful idea we think.<\/p>\n<p>HTML and Javascript codewise the original <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/under_the_stairs.html_GETME' title='under_the_stairs.html'>under_the_stairs.html<\/a> is unchanged from the way it was below, but today, with our changed scenario, it is used within an HTML <a target=_blank title='HTML iframe element information from w3schools' href='http:\/\/www.w3schools.com\/tags\/tag_iframe.asp'>iframe<\/a> element using our Client Pre-emptive Iframe techniques to glean HTML map information, and then reworked as necessary directly into that iframe, and the HTML and Javascript for this is <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/pre_under_the_stairs.html_GETME' title='pre_under_the_stairs.html'>pre_under_the_stairs.html<\/a> channeling those oft-mentioned CSS techniques &#8230;<\/p>\n<ol>\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> property<\/li>\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 opacity property information from w3schools' href='http:\/\/www.w3schools.com\/cssref\/css3_pr_opacity.asp'>opacity<\/a><\/li>\n<\/ol>\n<p>The &#8220;overlay&#8221; concept comes into play, too, for the user to control the mode of use of the web application (ie. its HTML map element&#8217;s mode of use) via an HTML select tag &#8220;overlayed&#8221; on top of an HTML iframe element which exists that way for 20 seconds allowing the user to choose that other mode of use should they be interested.<\/p>\n<p>This could all become much clearer when you try a <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/pre_under_the_stairs.html' title='ESL Under The Stairs Game Overlay Primer Tutorial'>live run<\/a> and we hope it leaves you with some ideas to try out yourself in a project you are working on.<\/p>\n<hr>\n<p id='elvuts'>Previous relevant <a target=_blank title='English Learning - Vocabulary - Under The Stairs' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/english-learning-vocabulary-under-the-stairs\/'>English Learning &#8211; Vocabulary &#8211; Under The Stairs<\/a> is shown below.<\/p>\n<p><div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href='http:\/\/www.rjmprogramming.com.au\/under_the_stairs.html' title='Under The Stairs - Click to start class'><img loading=\"lazy\" decoding=\"async\" style=\"zoom: 30%;\" src=\"http:\/\/www.rjmprogramming.com.au\/Under_The_Stairs.jpg\" usemap=\"#ff92814\" width=\"2090\" height=\"1399\" alt=\"click map\" border=\"0\" \/><\/a><p class=\"wp-caption-text\">English Learning - Vocabulary - Under The Stairs<\/p><\/div><br \/>\n<a target=_blank href='http:\/\/www.rjmprogramming.com.au\/under_the_stairs.html' title='Under The Stairs - Click to start class'>Click to start class.  How many things can you name?<\/a><\/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='#d1069' onclick='var dv=document.getElementById(\"d1069\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?cat=45#content\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d1069' 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='#d18180' onclick='var dv=document.getElementById(\"d18180\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/map\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d18180' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>The HTML map element can be used in a variety of ways, two of which we hone in on with today&#8217;s ESL Vocabulary game &#8220;Under the Stairs&#8221;, a revisit of our previous English Learning &#8211; Vocabulary &#8211; Under The Stairs &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/esl-under-the-stairs-game-overlay-primer-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":[12,13,15,37],"tags":[281,396,476,477,576,587,652,745,894,997,1319,1388,1453],"class_list":["post-18180","post","type-post","status-publish","format-standard","hentry","category-elearning","category-esl","category-games","category-tutorials","tag-css","tag-esl","tag-game","tag-games-2","tag-html","tag-iframe","tag-javascript","tag-map","tag-overlay","tag-programming","tag-tutorial","tag-vocabulary","tag-word-game"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/18180"}],"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=18180"}],"version-history":[{"count":7,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/18180\/revisions"}],"predecessor-version":[{"id":22471,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/18180\/revisions\/22471"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=18180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=18180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=18180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}