<?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 Scale Bar Height difference between Mozilla &amp;amp;amp; Internet Explorer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scale-bar-height-difference-between-mozilla-amp/m-p/156868#M14633</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've noticed the size of the scale bar in both IE and Firefox is different. Any ideas why?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the attached images notice how ie-9-scale-bar.png is much&amp;nbsp; taller than ffx-scale-bar.png. The same code sets the scale bar up in both cases:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
esriConfig.defaults.map.slider = { right: "20px", top: "70px", height: "200px" };
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this might be deprecated, but even the most recent sample still demonstrates this inconsistency. If you open this sample in Firefox and Internet Explorer, the scale bar is taller in size than the one in Firefox. Why is this happening and can we correct it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/demos/widget/widget_scalebar.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/demos/widget/widget_scalebar.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 08:19:17 GMT</pubDate>
    <dc:creator>AaronConnolly</dc:creator>
    <dc:date>2021-12-11T08:19:17Z</dc:date>
    <item>
      <title>Scale Bar Height difference between Mozilla &amp;amp; Internet Explorer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scale-bar-height-difference-between-mozilla-amp/m-p/156868#M14633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've noticed the size of the scale bar in both IE and Firefox is different. Any ideas why?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the attached images notice how ie-9-scale-bar.png is much&amp;nbsp; taller than ffx-scale-bar.png. The same code sets the scale bar up in both cases:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
esriConfig.defaults.map.slider = { right: "20px", top: "70px", height: "200px" };
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this might be deprecated, but even the most recent sample still demonstrates this inconsistency. If you open this sample in Firefox and Internet Explorer, the scale bar is taller in size than the one in Firefox. Why is this happening and can we correct it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/demos/widget/widget_scalebar.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/demos/widget/widget_scalebar.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:19:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scale-bar-height-difference-between-mozilla-amp/m-p/156868#M14633</guid>
      <dc:creator>AaronConnolly</dc:creator>
      <dc:date>2021-12-11T08:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Scale Bar Height difference between Mozilla &amp; Internet Explorer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scale-bar-height-difference-between-mozilla-amp/m-p/156869#M14634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: Jian&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you mean scalebar or zoom slider?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 22:38:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scale-bar-height-difference-between-mozilla-amp/m-p/156869#M14634</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-10-07T22:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Scale Bar Height difference between Mozilla &amp; Internet Explorer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scale-bar-height-difference-between-mozilla-amp/m-p/156870#M14635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Zoom Slider ....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 14:02:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scale-bar-height-difference-between-mozilla-amp/m-p/156870#M14635</guid>
      <dc:creator>AaronConnolly</dc:creator>
      <dc:date>2011-10-10T14:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Scale Bar Height difference between Mozilla &amp; Internet Explorer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scale-bar-height-difference-between-mozilla-amp/m-p/156871#M14636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anyone got any ideas on this? Is this an IE rendering issue? CSS layout issue?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 16:11:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scale-bar-height-difference-between-mozilla-amp/m-p/156871#M14636</guid>
      <dc:creator>AaronConnolly</dc:creator>
      <dc:date>2011-10-11T16:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Scale Bar Height difference between Mozilla &amp; Internet Explorer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scale-bar-height-difference-between-mozilla-amp/m-p/156872#M14637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: swingley&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Likely CSS. What have you tried?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 18:38:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scale-bar-height-difference-between-mozilla-amp/m-p/156872#M14637</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-10-11T18:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Scale Bar Height difference between Mozilla &amp; Internet Explorer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scale-bar-height-difference-between-mozilla-amp/m-p/156873#M14638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;esriConfig.defaults.map.slider = { right: "20px", top: "70px", height: "200px" };&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I style the + and - buttons differently, but I don't scale the zoom slider level notches at all. There's an ESRI sample post somewhere that illustrates how to change the + / - buttons.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 20:44:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scale-bar-height-difference-between-mozilla-amp/m-p/156873#M14638</guid>
      <dc:creator>AaronConnolly</dc:creator>
      <dc:date>2011-10-11T20:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Scale Bar Height difference between Mozilla &amp; Internet Explorer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scale-bar-height-difference-between-mozilla-amp/m-p/156874#M14639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: swingley&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll probably want to dig into styling the slider correctly, and perhaps conditionally depending on whether or not your in IE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For future reference, &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/inside_defaults.htm"&gt;use esri.config, not esriConfig&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 21:41:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scale-bar-height-difference-between-mozilla-amp/m-p/156874#M14639</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-10-11T21:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Scale Bar Height difference between Mozilla &amp; Internet Explorer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scale-bar-height-difference-between-mozilla-amp/m-p/156875#M14640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Has anyone found solution to this yet? I am having the same issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 11:54:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scale-bar-height-difference-between-mozilla-amp/m-p/156875#M14640</guid>
      <dc:creator>JatinPatel</dc:creator>
      <dc:date>2012-05-08T11:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Scale Bar Height difference between Mozilla &amp; Internet Explorer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scale-bar-height-difference-between-mozilla-amp/m-p/156876#M14641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: Schnoerkel&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think the IE interpret the height wrong ...if I give the FF,Chrome etc. a height of 150px the IE needs 100px...the sollution i've done is a simple browser check:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you want to use dojo:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
if(dojo.isIE)
{
 esri.config.defaults.map.slider = { left:"45px", top:"100px", width:null, height:"100px" };
}else{
 esri.config.defaults.map.slider = { left:"45px", top:"100px", width:null, height:"150px" };
}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you want to use jquery:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
if($.browser.msie) 
{
 esri.config.defaults.map.slider = { left:"45px", top:"100px", width:null, height:"100px" };
}else{
 esri.config.defaults.map.slider = { left:"45px", top:"100px", width:null, height:"150px" };
}&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:19:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scale-bar-height-difference-between-mozilla-amp/m-p/156876#M14641</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-11T08:19:20Z</dc:date>
    </item>
  </channel>
</rss>

