<?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 Trouble with Navigation Toolbar Sample in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trouble-with-navigation-toolbar-sample/m-p/351677#M32595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to add the Navigation Toolbar sample to my application. Works great in Firefox, but in IE8 I keep getting the error "Object doesn't support this property or method" on the line that declares the navToolbar variable. Here is a code snippet showing the order I declare the map variable and the navToolbar variable:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp; //Set the map variable and assign it to the mapDiv box &amp;nbsp; map = new esri.Map("mapDiv",{extent: initExtent, slider: true, nav: true });&amp;nbsp; &amp;nbsp; //Define navigation toolbar - IN DEVELOPMENT &amp;nbsp; navToolbar = new esri.toolbars.Navigation(map);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since it works fine in Firefox, I'm sure there is just some simple IE code issue that I am overlooking. Any suggestions are greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jul 2012 20:23:12 GMT</pubDate>
    <dc:creator>MatthewLawton</dc:creator>
    <dc:date>2012-07-23T20:23:12Z</dc:date>
    <item>
      <title>Trouble with Navigation Toolbar Sample</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trouble-with-navigation-toolbar-sample/m-p/351677#M32595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to add the Navigation Toolbar sample to my application. Works great in Firefox, but in IE8 I keep getting the error "Object doesn't support this property or method" on the line that declares the navToolbar variable. Here is a code snippet showing the order I declare the map variable and the navToolbar variable:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp; //Set the map variable and assign it to the mapDiv box &amp;nbsp; map = new esri.Map("mapDiv",{extent: initExtent, slider: true, nav: true });&amp;nbsp; &amp;nbsp; //Define navigation toolbar - IN DEVELOPMENT &amp;nbsp; navToolbar = new esri.toolbars.Navigation(map);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since it works fine in Firefox, I'm sure there is just some simple IE code issue that I am overlooking. Any suggestions are greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 20:23:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trouble-with-navigation-toolbar-sample/m-p/351677#M32595</guid>
      <dc:creator>MatthewLawton</dc:creator>
      <dc:date>2012-07-23T20:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with Navigation Toolbar Sample</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trouble-with-navigation-toolbar-sample/m-p/351678#M32596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nevermind. It was a variable scope issue for IE. I had to declare navToolbar as a global variable outside of my startup function, even though it has no problem with all of the other global variables being defined this way. Go figure.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 22:57:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trouble-with-navigation-toolbar-sample/m-p/351678#M32596</guid>
      <dc:creator>MatthewLawton</dc:creator>
      <dc:date>2012-07-23T22:57:20Z</dc:date>
    </item>
  </channel>
</rss>

