{"id":6038,"date":"2014-01-20T05:02:58","date_gmt":"2014-01-19T18:02:58","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=6038"},"modified":"2014-01-20T05:02:58","modified_gmt":"2014-01-19T18:02:58","slug":"moving-html-elements-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/moving-html-elements-primer-tutorial\/","title":{"rendered":"Moving HTML Elements Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/LayeringDivs\/\"><img decoding=\"async\" id='imgmovh' onmouseover=\"var xqw=this.src;  if (xqw.indexOf('1') != -1) { this.src = 'http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/LayeringDivs\/LayeringDivs-2of.jpg'; } else if (xqw.indexOf('2') != -1) { this.src = 'http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/LayeringDivs\/LayeringDivs-3of.jpg'; } else if (xqw.indexOf('3') != -1) { this.src = 'http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/LayeringDivs\/LayeringDivs-4of.jpg'; } else { this.src = 'http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/LayeringDivs\/LayeringDivs-1of.jpg'; }  \"  style=\"float:left;border: 15px solid pink;\" alt=\"Moving HTML Elements Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/LayeringDivs\/LayeringDivs-1of.jpg\" title=\"Moving HTML Elements Primer Tutorial (try twirling round bottom of image for a synopsis ... 'do the twirl now')\"  \/><\/a><p class=\"wp-caption-text\">Moving HTML Elements Primer Tutorial (try twirling round bottom of image for a synopsis ... 'do the twirl now')<\/p><\/div>\n<p>Here we have a common scenario on the web, in that this tutorial creates one of those <i>&#8220;windows&#8221;<\/i> (but is a &lt;div&gt;) always sitting on top.   Sometimes that annoys, sometimes it is necessary, but almost certainly what this tutorial makes happen really does annoy, in that the <i>&#8220;window&#8221;<\/i> on top moves away from you as you try to close it &#8230; aaaaarrrgh!<\/p>\n<p>This is a client behaviour, so you&#8217;ve probably guessed that this is done with JavaScript.<\/p>\n<p>Enjoy this <a target=_blank title='Moving HTML Elements Primer Tutorial' href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/LayeringDivs\/'>tutorial<\/a> perhaps.<\/p>\n<p>Regarding this topic I really like <i>JavaScript &#038; Alax for the Web, Seventh Edition By Tom Negrino and Dori Smith<\/i> where the code presented was followed closely here.<\/p>\n<p>Here is a link to the HTML programming source code that you might want to rename to <a target=_blank title='layeringYourDivs.html' href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/LayeringDivs\/layeringYourDivs.html_GETME'>layeringYourDivs.html<\/a><\/p>\n<p>The link <a target=_blank title='Random Latin' href='http:\/\/www.lipsum.com\/feed\/html'>here<\/a> helped a lot with the random Latin &#8230; thanks.<\/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='#d6038' onclick='var dv=document.getElementById(\"d6038\"); 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='d6038' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Here we have a common scenario on the web, in that this tutorial creates one of those &#8220;windows&#8221; (but is a &lt;div&gt;) always sitting on top. Sometimes that annoys, sometimes it is necessary, but almost certainly what this tutorial makes &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/moving-html-elements-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,37],"tags":[281,576,652,997,1319],"class_list":["post-6038","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","tag-css","tag-html","tag-javascript","tag-programming","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/6038"}],"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=6038"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/6038\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=6038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=6038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=6038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}