{"id":51696,"date":"2021-02-19T03:01:06","date_gmt":"2021-02-18T17:01:06","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=51696"},"modified":"2021-02-18T17:48:36","modified_gmt":"2021-02-18T07:48:36","slug":"webpage-vertical-position-return-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/webpage-vertical-position-return-tutorial\/","title":{"rendered":"Webpage Vertical Position Return Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/returning_to_start.html\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=Webpage Vertical Position Return Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/returning_to_start.gif\" title=\"Webpage Vertical Position Return Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Webpage Vertical Position Return Tutorial<\/p><\/div>\n<p>We have a very simple &#8220;proof of concept&#8221; web application to present today.  The reason for our &#8220;webpage position return&#8221; idea centres around four concepts &#8230;<\/li>\n<table>\n<tr>\n<th>Today we &#8230;<\/th>\n<th>Whereas usually we &#8230;<\/th>\n<\/tr>\n<tr>\n<td>\n<ul>\n<li>&#8220;a&#8221; link navigation that is target=_self (ie. default navigation that stays on the same web browser tab clobbering content)<\/li>\n<li>webpage vertical scrolling of content to &#8220;below the fold&#8221;<\/li>\n<li>hashtag # navigation<\/li>\n<li>use of web browser back link\/button<\/li>\n<\/ul>\n<\/td>\n<td>\n<ul>\n<li>&#8220;a&#8221; link navigation that is target=_blank (ie. to a new web browser tab leaving original webpage unaffected)<\/li>\n<li>try for &#8220;no webpage vertical scrolling of content required&#8221;<\/li>\n<li>try for &#8220;no need for hashtag # navigation&#8221;<\/li>\n<li>try for &#8220;no need for use of web browser back link\/button&#8221;<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/table>\n<p>So what happens if no hashtag # navigation happens ahead of navigating to a new webpage via an &#8220;a&#8221; link set to target=_self?  It will, unless catered for (and there is a mix out there), will return back to that previous webpage at its topmost positioning (as far as vertical scrolling goes).   The internal hashtag # navigation concerns taken in our proof of concept allows the return to be either exactly, or nearly, returned to &#8230;<\/p>\n<ul>\n<li>the appropriate webpage &#8230; doh! &#8230;<\/li>\n<li>at an apt vertical scrolling position<\/li>\n<\/ul>\n<p>See what we mean, and what we are talking about with <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/returning_to_start.html_GETME\" title=\"returning_to_start.html\">our first draft &#8220;proof of concept&#8221;<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/returning_to_start.html\" title=\"Click picture\">live run<\/a> you can also try below &#8230;<\/p>\n<p><iframe src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/returning_to_start.html\" style=\"width:100%;height:800px;\"><\/iframe><\/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='#d51696' onclick='var dv=document.getElementById(\"d51696\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/navigation\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d51696' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>We have a very simple &#8220;proof of concept&#8221; web application to present today. The reason for our &#8220;webpage position return&#8221; idea centres around four concepts &#8230; Today we &#8230; Whereas usually we &#8230; &#8220;a&#8221; link navigation that is target=_self (ie. &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/webpage-vertical-position-return-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,14,37],"tags":[3566,123,557,576,652,1807,830,997,1107,2001,3565,1319,3332,1418],"class_list":["post-51696","post","type-post","status-publish","format-standard","hentry","category-elearning","category-event-driven-programming","category-tutorials","tag-back","tag-back-button","tag-hashtag","tag-html","tag-javascript","tag-link","tag-navigation","tag-programming","tag-scrolling","tag-tab","tag-target","tag-tutorial","tag-vertical-scrolling","tag-webpage"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/51696"}],"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=51696"}],"version-history":[{"count":6,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/51696\/revisions"}],"predecessor-version":[{"id":51708,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/51696\/revisions\/51708"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=51696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=51696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=51696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}