<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - Hide Show toggle issue - can u help?</title>
    <link>https://forums.adobe.com/community/edge_animate?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Thu, 16 Oct 2014 10:18:02 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-10-16T10:18:02Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Hide Show toggle issue - can u help?</title>
      <link>https://forums.adobe.com/message/6835423?tstart=0#6835423</link>
      <description>&lt;!-- [DocumentBodyStart:bb1f7dfd-6c1f-491e-9bd2-544a1f67e42b] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;As you can see in my post, I am using the toggle option from the latest EDGE animate, but my issue is that I have 4 different toggle commands from 4 differnet buttons using the same symbols to hide/show.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So, if i hit button 1 to show, then hit button 1 to hide all is well, but if i hit button 1 to show, then button 2 to show, it starts to get confused and the wrong symbols are shown/ hidden&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:bb1f7dfd-6c1f-491e-9bd2-544a1f67e42b] --&gt;&lt;img src='/beacon?t=1415897931385' /&gt;</description>
      <pubDate>Thu, 16 Oct 2014 10:18:02 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6835423?tstart=0#6835423</guid>
      <dc:date>2014-10-16T10:18:02Z</dc:date>
      <clearspace:dateToText>1 month 2 days from now</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Hide Show toggle issue - can u help?</title>
      <link>https://forums.adobe.com/message/6835472?tstart=0#6835472</link>
      <description>&lt;!-- [DocumentBodyStart:b5c38bc3-712b-4fce-9ee9-6d87dc22e066] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi, I am using the latest EDGE update&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:b5c38bc3-712b-4fce-9ee9-6d87dc22e066] --&gt;</description>
      <pubDate>Thu, 16 Oct 2014 10:12:17 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6835472?tstart=0#6835472</guid>
      <dc:date>2014-10-16T10:12:17Z</dc:date>
      <clearspace:dateToText>1 month 2 days from now</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Hide Show toggle issue - can u help?</title>
      <link>https://forums.adobe.com/message/6835436?tstart=0#6835436</link>
      <description>&lt;!-- [DocumentBodyStart:732f49ef-bebb-495e-8247-423d65e476a7] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You do not specify which Edge version you are using: Edge 5 with or without the entire jQuery, or an earlier Edge.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;1) The jQuery function [ &lt;strong&gt;&lt;a class="jive-link-external-small" href="http://api.jquery.com/toggle/" rel="nofollow"&gt;.toggle()&lt;/a&gt;&lt;/strong&gt; ] can solve your issue.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;I quote the jQuery API:&lt;/strong&gt;&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;
&lt;p style="margin: 0 0 15px; color: #333333; font-family: 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif; font-size: 15px;"&gt;With no parameters, the &lt;code style="font-size: 13px; padding: 0 3px; background-color: rgba(0, 0, 0, 0.0980392); font-family: source-code-pro, Consolas, monospace !important;"&gt;.toggle()&lt;/code&gt; method simply toggles the visibility of elements:&lt;/p&gt;
&lt;table style="margin: 0 !important; padding: 0 !important; font-family: source-code-pro, Consolas, monospace !important; font-size: 1em !important;"&gt;
&lt;tbody style="margin: 0 !important; padding: 0 !important; font-size: 1em !important;"&gt;
&lt;tr style="border-bottom-style: none; margin: 0 !important; padding: 0 !important; font-size: 1em !important;"&gt;
&lt;td class="gutter" style="border-bottom-style: none;font-size: 1em !important;padding: 0 !important;margin: 0 !important;border-right-color: #999999;border-right-style: solid;border-right-width: 2px;"&gt;
&lt;div class="n1 line" style="margin: 0 !important; padding: 0 0.5em 0 1em !important; text-align: right !important; font-size: 1em !important;"&gt;1
&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;
&lt;/td&gt;
&lt;td class="code" style="border-bottom-style: none;font-size: 1em !important;padding: 0 !important;margin: 0 !important;"&gt;
&lt;div class="line" style="margin: 0 !important; padding: 0 0.5em 0 1em !important; font-size: 1em !important;"&gt;&lt;code style="font-size: 1em !important; padding: 0 !important; font-family: source-code-pro, Consolas, monospace !important; margin: 0 !important;"&gt;$( &lt;span class="string" style="color: #dd1144;"&gt;".target"&lt;/span&gt; ).toggle();&lt;/code&gt;
&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 15px; color: #333333; font-family: 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif; font-size: 15px;"&gt;The matched elements will be revealed or hidden immediately, with no animation, by changing the CSS &lt;code style="font-size: 13px; padding: 0 3px; background-color: rgba(0, 0, 0, 0.0980392); font-family: source-code-pro, Consolas, monospace !important;"&gt;display&lt;/code&gt; property. &lt;span style="line-height: 1.5em;"&gt;If the element is initially displayed, it will be hidden; if hidden, it will be shown. The &lt;/span&gt;&lt;code style="line-height: 1.5em; font-size: 13px; padding: 0px 3px; background-color: rgba(0, 0, 0, 0.0980392); font-family: source-code-pro, Consolas, monospace !important;"&gt;display&lt;/code&gt;&lt;span style="line-height: 1.5em;"&gt; property is saved and restored as needed.&lt;/span&gt;&lt;/p&gt;


&lt;/blockquote&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;2) One of both selectors can also be used: &lt;a class="jive-link-external-small" href="http://api.jquery.com/visible-selector/" rel="nofollow"&gt;&lt;strong&gt;:visible&lt;/strong&gt;&lt;/a&gt; or &lt;a class="jive-link-external-small" href="http://api.jquery.com/hidden-selector/" rel="nofollow"&gt;&lt;strong&gt;:hidden&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:732f49ef-bebb-495e-8247-423d65e476a7] --&gt;</description>
      <pubDate>Thu, 16 Oct 2014 09:44:56 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6835436?tstart=0#6835436</guid>
      <dc:date>2014-10-16T09:44:56Z</dc:date>
      <clearspace:dateToText>1 month 2 days from now</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Hide Show toggle issue - can u help?</title>
      <link>https://forums.adobe.com/message/6835254?tstart=0#6835254</link>
      <description>&lt;!-- [DocumentBodyStart:e00b2827-14ca-4afb-8465-6f8b78e1a398] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi, I have a toggle issue!&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have four buttons that each hide show toggle different squares:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;strong&gt;button 1&lt;/strong&gt; shows yellow and hides green, green1 and blue&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;strong&gt;button2&lt;/strong&gt; shows green and hides yellow, green1 and blue&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;strong&gt;button3&lt;/strong&gt; shows green 1 and hides yellow, green and blue&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;strong&gt;button4&lt;/strong&gt; shows blue and hides yellow, green and green1&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;However, if you press &lt;strong&gt;button1&lt;/strong&gt; and then press &lt;strong&gt;button2&lt;/strong&gt; the sequence gets confused and hides/shows the wrong ones!&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Can you help to ensure that whatever button is pressed it will hide show the correct formation whether you toggle or not?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;here is my code for one button1 etc:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;// Set a toggle to hide or show an element &lt;/p&gt;&lt;p&gt;if (sym.$("Green").is(":visible")) {&lt;/p&gt;&lt;p&gt;&amp;nbsp; sym.$("Green").hide();&lt;/p&gt;&lt;p&gt;} else {&lt;/p&gt;&lt;p&gt;&amp;nbsp; sym.$("Green").show();&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;// Set a toggle to hide or show an element &lt;/p&gt;&lt;p&gt;if (sym.$("Green1").is(":visible")) {&lt;/p&gt;&lt;p&gt;&amp;nbsp; sym.$("Green1").hide();&lt;/p&gt;&lt;p&gt;} else {&lt;/p&gt;&lt;p&gt;&amp;nbsp; sym.$("Green1").show();&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;// Set a toggle to hide or show an element &lt;/p&gt;&lt;p&gt;if (sym.$("Blue").is(":visible")) {&lt;/p&gt;&lt;p&gt;&amp;nbsp; sym.$("Blue").hide();&lt;/p&gt;&lt;p&gt;} else {&lt;/p&gt;&lt;p&gt;&amp;nbsp; sym.$("Blue").show();&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Can you help?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:e00b2827-14ca-4afb-8465-6f8b78e1a398] --&gt;</description>
      <pubDate>Thu, 16 Oct 2014 08:55:57 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6835254?tstart=0#6835254</guid>
      <dc:date>2014-10-16T08:55:57Z</dc:date>
      <clearspace:dateToText>1 month 2 days from now</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

