<?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: Toggle picture panel in Map tour in Classic Esri Story Maps Questions</title>
    <link>https://community.esri.com/t5/classic-esri-story-maps-questions/toggle-picture-panel-in-map-tour/m-p/551800#M6439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like you are adding the slide button inside the picture panel and toggling the picture panel main container. So when the picture panel is not visible, the button won't be visible. You need to add the button outside of the picture panel so that it remains visible or display another button (probably the most simple) when you are toggling the picture panel off.&lt;/P&gt;&lt;P&gt;I would try that way: add a new div in index.html after the picture panel ; add css so that that button is positioned absolutely ; toggle that button on and off depending of the picture panel state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Oct 2015 15:33:22 GMT</pubDate>
    <dc:creator>GregoryL_Azou</dc:creator>
    <dc:date>2015-10-06T15:33:22Z</dc:date>
    <item>
      <title>Toggle picture panel in Map tour</title>
      <link>https://community.esri.com/t5/classic-esri-story-maps-questions/toggle-picture-panel-in-map-tour/m-p/551799#M6438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using MapTour stoytelling with integrated setting and would like to have a toggle for the picture panel on the right when the user wants (as it covers nearly 1/3 of the map (and almost 1/2 using a 32" screen).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to integrate a button and successfully toggle the picture panel for the first time with the following code in crossfader.js file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;var _toggl&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;e1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;_toggle1 = $("&amp;lt;div id='toggle'&amp;gt;&amp;lt;/div&amp;gt;");&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp; $("#picturePanel").append(_toggle1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;$(_toggle1).fastClick(function() {&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp; $(_toggle1).toggleClass('closed', $(#picturePanel).css('display') != 'none');&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp; $(#picturePanel).slideToggle();&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works to remove the picture panel completely, i mean once i click on the toggle it removes everything and the picture panel cannot be retained in that session again and also the picture panel doesn't appear even if i click other icons, untill and unless the map is refreshed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought it would work as how the description toggle works, but not, I don't have any clue if i am missing something else in the code functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Akshara Chukkannagari&lt;/P&gt;&lt;P style="font-size: 12.8px; font-family: arial, sans-serif; color: #222222;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.8px; font-family: verdana, sans-serif; color: #303030;"&gt;UIZ, Germany&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: small; font-family: arial, sans-serif; color: #222222;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; color: #303030;"&gt;Neue Grünstraße &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: #303030;"&gt;38,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: #303030;"&gt;10179, Berlin, Germany&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 20:25:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/classic-esri-story-maps-questions/toggle-picture-panel-in-map-tour/m-p/551799#M6438</guid>
      <dc:creator>JayThakur</dc:creator>
      <dc:date>2015-10-05T20:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle picture panel in Map tour</title>
      <link>https://community.esri.com/t5/classic-esri-story-maps-questions/toggle-picture-panel-in-map-tour/m-p/551800#M6439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like you are adding the slide button inside the picture panel and toggling the picture panel main container. So when the picture panel is not visible, the button won't be visible. You need to add the button outside of the picture panel so that it remains visible or display another button (probably the most simple) when you are toggling the picture panel off.&lt;/P&gt;&lt;P&gt;I would try that way: add a new div in index.html after the picture panel ; add css so that that button is positioned absolutely ; toggle that button on and off depending of the picture panel state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 15:33:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/classic-esri-story-maps-questions/toggle-picture-panel-in-map-tour/m-p/551800#M6439</guid>
      <dc:creator>GregoryL_Azou</dc:creator>
      <dc:date>2015-10-06T15:33:22Z</dc:date>
    </item>
  </channel>
</rss>

