<?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: overriding zoom slider CSS styles causes error in behavior in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/overriding-zoom-slider-css-styles-causes-error-in/m-p/101445#M9333</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Rob,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just modified an online sample in order to incorporate your requirement. I am sure there are other ways too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please share your css file and I will try to incorporate that in my application. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jul 2011 18:09:27 GMT</pubDate>
    <dc:creator>SaurabhGupta</dc:creator>
    <dc:date>2011-07-06T18:09:27Z</dc:date>
    <item>
      <title>overriding zoom slider CSS styles causes error in behavior</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/overriding-zoom-slider-css-styles-causes-error-in/m-p/101442#M9330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;By default the zoom slider places tic marks to the right of the zoom slider, to the side of the main rail with the grip handle. I'm trying to move these tics and center them on the bar instead of being on the right. I'm able to do this by adjusting the 'left' property in dijitRuleContainerV CSS style. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However,once shifted, the tic marks interfere with the behavior of the slider handle. When the mouse is over the tics, the handle is disabled and the user cannot grab the handle. I've made sure the z-index of the handle is higher than the tic marks, but this does not help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas on how to move the tics onto the slider bar and have the handle behave the same as it should?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sample CSS below, can use these to overwrite default styles (using vertical slider). This will shift the tics, but when you mouse over right-half of the handle, the part over the tics, the handle will not activate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Screen shot attached, notice the cursor is still a pointer when over the slider handle and cannot move the handle when over tics.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any tips, Rob.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* set z-index of handle higher than tics */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.dijitSliderImageHandleV {&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;z-index: 2000 !important;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* shift tics to left so over zoom slider rail */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.dijitRuleContainerV &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; left: -10px !important;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; z-index: 1000 !important;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 15:04:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/overriding-zoom-slider-css-styles-causes-error-in/m-p/101442#M9330</guid>
      <dc:creator>RobWaller</dc:creator>
      <dc:date>2011-07-06T15:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: overriding zoom slider CSS styles causes error in behavior</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/overriding-zoom-slider-css-styles-causes-error-in/m-p/101443#M9331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Rob,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you try these classes :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;.dijitRuleContainer {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;left : -15px;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;z-index: 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.dijitSliderDecorationC {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;opacity : 0.9;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;z-index: 10;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 17:23:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/overriding-zoom-slider-css-styles-causes-error-in/m-p/101443#M9331</guid>
      <dc:creator>SaurabhGupta</dc:creator>
      <dc:date>2011-07-06T17:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: overriding zoom slider CSS styles causes error in behavior</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/overriding-zoom-slider-css-styles-causes-error-in/m-p/101444#M9332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are these to be used in place of the ones in sample I provided or in addition to those styles?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Either way I try it doesn't solve issue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use only classes in your sample:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Setting 'left' to -15 places the tics to the left of the bar. If I change to -10 they are centered on bar but they are under the bar. If I increase z-index from 0 to 1 they are above the bar, but then I have same issue as before, can't grab the handle when mouse is over the tics.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If able to provide more info on these classes or a full sample would be great,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 17:53:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/overriding-zoom-slider-css-styles-causes-error-in/m-p/101444#M9332</guid>
      <dc:creator>RobWaller</dc:creator>
      <dc:date>2011-07-06T17:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: overriding zoom slider CSS styles causes error in behavior</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/overriding-zoom-slider-css-styles-causes-error-in/m-p/101445#M9333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Rob,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just modified an online sample in order to incorporate your requirement. I am sure there are other ways too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please share your css file and I will try to incorporate that in my application. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 18:09:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/overriding-zoom-slider-css-styles-causes-error-in/m-p/101445#M9333</guid>
      <dc:creator>SaurabhGupta</dc:creator>
      <dc:date>2011-07-06T18:09:27Z</dc:date>
    </item>
  </channel>
</rss>

