<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: reattach map to different div in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reattach-map-to-different-div/m-p/648649#M60483</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;correct, but that is attaching nodes in the dom, within the same DOM tree. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I dont know how to do is moving things around within two windows.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 May 2014 16:29:22 GMT</pubDate>
    <dc:creator>JorgeFiallega</dc:creator>
    <dc:date>2014-05-01T16:29:22Z</dc:date>
    <item>
      <title>reattach map to different div</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reattach-map-to-different-div/m-p/648643#M60477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to reassign the map object to another div on the page ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var map = new esri.Map('mapone');
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so my map object is created with type esri.Map and attached to the div with id 'mapone'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to do at some point something like this in my code&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt; 
&amp;nbsp; map.reattach('maptwo');
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;where 'maptwo' is the id of another div.&amp;nbsp; (I madeup the reattach method, but something like tis is what I am looking for) so that now my map will show in div 'maptwo'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 15:37:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reattach-map-to-different-div/m-p/648643#M60477</guid>
      <dc:creator>JorgeFiallega</dc:creator>
      <dc:date>2014-05-01T15:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: reattach map to different div</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reattach-map-to-different-div/m-p/648644#M60478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What is your specific use-case? You can always move the dom node itself. I think this would be easier.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 16:12:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reattach-map-to-different-div/m-p/648644#M60478</guid>
      <dc:creator>JonathanUihlein</dc:creator>
      <dc:date>2014-05-01T16:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: reattach map to different div</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reattach-map-to-different-div/m-p/648645#M60479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I oversimplified it a bit. The divs live in two different windows (parent - child windows)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 16:13:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reattach-map-to-different-div/m-p/648645#M60479</guid>
      <dc:creator>JorgeFiallega</dc:creator>
      <dc:date>2014-05-01T16:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: reattach map to different div</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reattach-map-to-different-div/m-p/648646#M60480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would move the dom node itself to the second parent. This is the easiest way.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 16:16:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reattach-map-to-different-div/m-p/648646#M60480</guid>
      <dc:creator>JonathanUihlein</dc:creator>
      <dc:date>2014-05-01T16:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: reattach map to different div</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reattach-map-to-different-div/m-p/648647#M60481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;waoo. That one I dont know how to do.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 16:20:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reattach-map-to-different-div/m-p/648647#M60481</guid>
      <dc:creator>JorgeFiallega</dc:creator>
      <dc:date>2014-05-01T16:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: reattach map to different div</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reattach-map-to-different-div/m-p/648648#M60482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Vanilla Javascript:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://jsfiddle.net/Ev8ZH/3/"&gt;http://jsfiddle.net/Ev8ZH/3/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DOJO Javascript (recommended):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://dojotoolkit.org/reference-guide/1.9/dojo/dom-construct.html#dojo-dom-construct-place"&gt;http://dojotoolkit.org/reference-guide/1.9/dojo/dom-construct.html#dojo-dom-construct-place&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This should be all you need. Check out DOJO's samples and tutorials if you need any other help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Make sure you mark this thread as answered if you are satisfied. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 16:25:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reattach-map-to-different-div/m-p/648648#M60482</guid>
      <dc:creator>JonathanUihlein</dc:creator>
      <dc:date>2014-05-01T16:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: reattach map to different div</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reattach-map-to-different-div/m-p/648649#M60483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;correct, but that is attaching nodes in the dom, within the same DOM tree. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I dont know how to do is moving things around within two windows.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 16:29:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reattach-map-to-different-div/m-p/648649#M60483</guid>
      <dc:creator>JorgeFiallega</dc:creator>
      <dc:date>2014-05-01T16:29:22Z</dc:date>
    </item>
  </channel>
</rss>

