<?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: Layer Swipe... initial position of swipeDiv in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layer-swipe-initial-position-of-swipediv/m-p/116158#M10822</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried using the top and/or left constructor options? &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://developers.arcgis.com/en/javascript/jsapi/layerswipe-amd.html#layerswipe1" rel="nofollow" target="_blank"&gt;https://developers.arcgis.com/en/javascript/jsapi/layerswipe-amd.html#layerswipe1&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Oct 2013 20:48:24 GMT</pubDate>
    <dc:creator>derekswingley1</dc:creator>
    <dc:date>2013-10-02T20:48:24Z</dc:date>
    <item>
      <title>Layer Swipe... initial position of swipeDiv</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layer-swipe-initial-position-of-swipediv/m-p/116157#M10821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What is the best way to control the initial position of the swipeDiv in the Layer Swipe example?&amp;nbsp; I'd like to have our streets basemap displayed first (and fully) when a user opens the app, but then give them the option of seeing both basemaps (streets and imagery) after the app loads.&amp;nbsp; Setting the position of swipeDiv via CSS doesn't seem to work, nor does it seem like the smart thing to do since it's controlling other divs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2013 20:06:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layer-swipe-initial-position-of-swipediv/m-p/116157#M10821</guid>
      <dc:creator>NickO_Day</dc:creator>
      <dc:date>2013-10-02T20:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Layer Swipe... initial position of swipeDiv</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layer-swipe-initial-position-of-swipediv/m-p/116158#M10822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried using the top and/or left constructor options? &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://developers.arcgis.com/en/javascript/jsapi/layerswipe-amd.html#layerswipe1" rel="nofollow" target="_blank"&gt;https://developers.arcgis.com/en/javascript/jsapi/layerswipe-amd.html#layerswipe1&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2013 20:48:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layer-swipe-initial-position-of-swipediv/m-p/116158#M10822</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2013-10-02T20:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Layer Swipe... initial position of swipeDiv</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layer-swipe-initial-position-of-swipediv/m-p/116159#M10823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, use the "left" property. You could modify the left property CSS on the handle and call widget.swipe() as well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 01:51:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layer-swipe-initial-position-of-swipediv/m-p/116159#M10823</guid>
      <dc:creator>MattDriscoll</dc:creator>
      <dc:date>2013-10-03T01:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Layer Swipe... initial position of swipeDiv</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layer-swipe-initial-position-of-swipediv/m-p/116160#M10824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes!&amp;nbsp; The &lt;/SPAN&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;left: 1&lt;/PRE&gt;&lt;SPAN&gt; property does exactly what I needed.&amp;nbsp; FYI to all:&amp;nbsp; you can't set this to 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Derek and Matt!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 13:33:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layer-swipe-initial-position-of-swipediv/m-p/116160#M10824</guid>
      <dc:creator>NickO_Day</dc:creator>
      <dc:date>2013-10-03T13:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Layer Swipe... initial position of swipeDiv</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layer-swipe-initial-position-of-swipediv/m-p/116161#M10825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes!&amp;nbsp; The &lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;left: 1&lt;/PRE&gt; property does exactly what I needed.&amp;nbsp; FYI to all:&amp;nbsp; you can't set this to 0.&lt;BR /&gt;Thanks Derek and Matt!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We'll get it fixed so you can set it to zero next update. I think setting it to "0" or 0.1 should work for now.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 15:42:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layer-swipe-initial-position-of-swipediv/m-p/116161#M10825</guid>
      <dc:creator>MattDriscoll</dc:creator>
      <dc:date>2013-10-03T15:42:37Z</dc:date>
    </item>
  </channel>
</rss>

