{"id":45097,"date":"2019-05-29T03:01:20","date_gmt":"2019-05-28T17:01:20","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=45097"},"modified":"2019-05-29T06:37:08","modified_gmt":"2019-05-28T20:37:08","slug":"same-domain-popup-moveto-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/same-domain-popup-moveto-primer-tutorial\/","title":{"rendered":"Same Domain Popup Moveto Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/move_around_edge.html\"><img decoding=\"async\" style=\"float:left;border: 15px solid pink;\" alt=\"Same Domain Popup Moveto Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/move_around_edge.jpg\" title=\"Same Domain Popup Moveto Primer Tutorial\"   \/><\/a><p class=\"wp-caption-text\">Same Domain Popup Moveto Primer Tutorial<\/p><\/div>\n<p>Yesterday&#8217;s <a target=_blank title='Australian Postcode Place Modal Backdrop Popup Move Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/australian-postcode-place-modal-backdrop-popup-move-tutorial\/'>Australian Postcode Place Modal Backdrop Popup Move Tutorial<\/a> outlined a dilemma &#8230;<\/p>\n<blockquote cite='https:\/\/www.rjmprogramming.com.au\/ITblog\/australian-postcode-place-modal-backdrop-popup-move-tutorial\/'>\n<ul>\n<li><a target=_blank href='http:\/\/www.w3schools.com\/jsref\/met_win_open.asp' title='window.open information from w3schools'>window.open<\/a> based Window with that 3rd argument popup positioning used &#8230;<\/li>\n<li>Window object method <a target=_blank title='Window object method moveTo' href='https:\/\/www.w3schools.com\/jsref\/met_win_moveto.asp'>moveTo<\/a> &#8230; when that Window URL is &#8230;<\/li>\n<li>cross-domain<\/li>\n<\/ul>\n<\/blockquote>\n<p> &#8230; but today we change &#8220;cross&#8221; to &#8220;same&#8221; and show what is possible with the Window object method <a target=_blank title='Window object method moveTo' href='https:\/\/www.w3schools.com\/jsref\/met_win_moveto.asp'>moveTo<\/a> method.  We can even have webpage windows controlled by a parent window that does not even overlap the popups it is creating, so that we can ring a central window with moving popup windows.<\/p>\n<p>Try this out yourself with <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/move_around_edge.html_GETME\" title=\"move_around_edge.html\">move_around_edge.html<\/a>&#8216;s <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/move_around_edge.html\" title=\"Click picture\">live run<\/a> link, or see this with the video below &#8230;<\/p>\n<p><video style='width:100%;' controls><source src='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/move_around_edge.mp4' type='video\/mp4'><\/source><\/video><\/p>\n<p>You can also see this play out at WordPress 4.1.1&#8217;s <a target=_blank title='Same Domain Popup Moveto Primer Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/same-domain-popup-moveto-primer-tutorial\/'>Same Domain Popup Moveto Primer Tutorial<\/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='#d45097' onclick='var dv=document.getElementById(\"d45097\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/screen\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d45097' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Yesterday&#8217;s Australian Postcode Place Modal Backdrop Popup Move Tutorial outlined a dilemma &#8230; window.open based Window with that 3rd argument popup positioning used &#8230; Window object method moveTo &#8230; when that Window URL is &#8230; cross-domain &#8230; but today we &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/same-domain-popup-moveto-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,14,37],"tags":[355,576,652,2968,967,997,2256,1319,1583],"class_list":["post-45097","post","type-post","status-publish","format-standard","hentry","category-elearning","category-event-driven-programming","category-tutorials","tag-domain","tag-html","tag-javascript","tag-moveto","tag-popup","tag-programming","tag-screen","tag-tutorial","tag-window"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/45097"}],"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=45097"}],"version-history":[{"count":8,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/45097\/revisions"}],"predecessor-version":[{"id":45105,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/45097\/revisions\/45105"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=45097"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=45097"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=45097"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}