<?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 Revisit Map page using JQuery Mobile in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/revisit-map-page-using-jquery-mobile/m-p/686507#M63898</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: fergie319&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm developing a mobile application with the ArcGIS compact javascript framework and jquery mobile that has a home page that links to a map.&amp;nbsp; I've found that when you click on the link to the map it performs the nice jquery slide transition to the map and loads it properly.&amp;nbsp; However, if you then click on the browser back button or click another link to the home page, then click on the map link again, then the map doesn't load properly.&amp;nbsp; The dojo init event is still raised and all the initialization code is still running, but onload never fires on the map.&amp;nbsp; I tried destroying the map in case something was sticking around between page transitions, but that just broke the whole thing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was able to fix half the problem by setting data-ajax="false" on the link back to the home page, but this doesn't solve the problem when the user manually clicks the back button.&amp;nbsp; Also, it gets rid of the nice transition and so isn't as smooth a user experience.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to ensure that the map re-loads properly when making a jquery page transition?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2012 16:44:04 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2012-05-23T16:44:04Z</dc:date>
    <item>
      <title>Revisit Map page using JQuery Mobile</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/revisit-map-page-using-jquery-mobile/m-p/686507#M63898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: fergie319&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm developing a mobile application with the ArcGIS compact javascript framework and jquery mobile that has a home page that links to a map.&amp;nbsp; I've found that when you click on the link to the map it performs the nice jquery slide transition to the map and loads it properly.&amp;nbsp; However, if you then click on the browser back button or click another link to the home page, then click on the map link again, then the map doesn't load properly.&amp;nbsp; The dojo init event is still raised and all the initialization code is still running, but onload never fires on the map.&amp;nbsp; I tried destroying the map in case something was sticking around between page transitions, but that just broke the whole thing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was able to fix half the problem by setting data-ajax="false" on the link back to the home page, but this doesn't solve the problem when the user manually clicks the back button.&amp;nbsp; Also, it gets rid of the nice transition and so isn't as smooth a user experience.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to ensure that the map re-loads properly when making a jquery page transition?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 16:44:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/revisit-map-page-using-jquery-mobile/m-p/686507#M63898</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-05-23T16:44:04Z</dc:date>
    </item>
  </channel>
</rss>

