4 Replies Latest reply: Sep 15, 2007 5:14 AM by oicram RSS

    HELP - Blind don't toggle

    oicram Community Member
      Hi all,

      I have tried this other effect, Blind and he doesn't toggle either!!!

      Why?

      ::::::::::::::::::::::::::::::::::::::::::::::::::::::CODE:::::::::::::::::::::::::::::::: ::::::::::::::::::::::::::.

      <head>
      <script src="../../SpryAssets/SpryEffects.js" type="text/javascript"></script>

      <script type="text/javascript">
      <!--
      function MM_effectBlind(targetElement, duration, from, to, toggle)
      {
      Spry.Effect.DoBlind(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
      }
      //-->
      </script>
      </head>

      <body>
      <p>
      <input name="mostra" type="button" id="mostra" onclick="MM_effectBlind('details', 1000, '100%', '0%', true)" value="mostrar/ocultar detalhes" />
      </p>
      <div id="details">
      <p>Details to show upp>
      </div>
      </body>
      </html>

      :::::::::::::::::::::::::::::::::::::::END OF CODE::::::::::::::::::::::::::::::::::::::::::::::::

      thanks in advance.


        • 1. Re: HELP - Blind don't toggle
          Newsgroup_User Community Member
          "oicram" <webforumsuser@macromedia.com> wrote in message
          news:fceurl$o2s$1@forums.macromedia.com...
          > Hi all,
          >
          > I have tried this other effect, Blind and he doesn't toggle either!!!
          >
          > Why?
          >
          >
          > ::::::::::::::::::::::::::::::::::::::::::::::::::::::CODE::::::::::::::::::::::
          > ::::::::::::::::::::::::::::::::::::.
          >
          > <head>
          > <script src="../../SpryAssets/SpryEffects.js"
          > type="text/javascript"></script>
          >
          > <script type="text/javascript">
          > <!--
          > function MM_effectBlind(targetElement, duration, from, to, toggle)
          > {
          > Spry.Effect.DoBlind(targetElement, {duration: duration, from: from, to:
          > to,
          > toggle: toggle});
          > }
          > //-->
          > </script>
          > </head>
          >
          > <body>
          > <p>
          > <input name="mostra" type="button" id="mostra"
          > onclick="MM_effectBlind('details', 1000, '100%', '0%', true)"
          > value="mostrar/ocultar detalhes" />
          > </p>
          > <div id="details">
          > <p>Details to show upp>
          > </div>
          > </body>
          > </html>
          >
          > :::::::::::::::::::::::::::::::::::::::END OF
          > CODE::::::::::::::::::::::::::::::::::::::::::::::::
          >
          > thanks in advance.


          you have error in code...
          <p>Details to show upp>

          should be

          <p>Details to show up</p>

          • 2. Re: HELP - Blind don't toggle
            oicram Community Member
            It stills not toggle.

            http://www.cantinho.org/admin/cantinho/blindeffect.php

            ##############################END OF CODE####################
            <head>
            <script src="../../SpryAssets/SpryEffects.js" type="text/javascript"></script>

            <script type="text/javascript">
            <!--
            function MM_effectBlind(targetElement, duration, from, to, toggle)
            {
            Spry.Effect.DoBlind(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
            }
            //-->
            </script>
            <style type="text/css">
            <!--
            #details { display: none; }
            -->
            </style>
            </head>

            <body>
            <p>
            <input name="showhide" type="button" id="showhide" onClick="MM_effectBlind('details', 1000, '0%', '100%', true)" value="mostrar/ocultar detalhes" />
            </p>
            <div id="details">
            <p>Details to show up</p>
            </div>
            </body>
            </html>


            ##############################END OF CODE####################
            • 3. Re: HELP - Blind don't toggle
              Newsgroup_User Community Member

              "oicram" <webforumsuser@macromedia.com> wrote in message
              news:fcg54j$3qh$1@forums.macromedia.com...
              > It stills not toggle.
              >

              It does for me in IE7/Vista
              http://www.cantinho.org/SpryAssets/SpryEffects.js

              which browser are you viewing it with?

              • 4. Re: HELP - Blind don't toggle
                oicram Community Member
                It works because I have update the .js file.

                See here please:

                http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=602&threadid=1300892

                Thanks a lot.