Loading ...
Sorry, an error occurred while loading the content.

Re: "Panel-wait" example

Expand Messages
  • applemicro27
    I m trying to do something very similar to what you have done. I was wondering if you could post the code for your solution. Thanks ... the user ... will ...
    Message 1 of 8 , Jul 26, 2006
    • 0 Attachment
      I'm trying to do something very similar to what you have done. I was
      wondering if you could post the code for your solution.


      Thanks

      --- In ydn-javascript@yahoogroups.com, "bigodines" <bigodines@...>
      wrote:
      >
      > Solved :D
      >
      > thanks!!! this library is really amazing!!!
      >
      > --- In ydn-javascript@yahoogroups.com, "bigodines" <bigodines@>
      wrote:
      > >
      > > Any help on this?
      > >
      > > --- In ydn-javascript@yahoogroups.com, "bigodines" <bigodines@>
      wrote:
      > > >
      > > > Actually what I want to do is pretty simple:
      > > >
      > > > I don't wanna do anything when the page is loaded. Then when
      the user
      > > > clicks the link "Ler feed", i want it to open the panel that
      will
      > > > connects to the other page and gets the feed.
      > > >
      > > > That's it. :P
      > > >
      > > > --- In ydn-javascript@yahoogroups.com, Matt Warden <mwarden@>
      wrote:
      > > > >
      > > > > -----BEGIN PGP SIGNED MESSAGE-----
      > > > > Hash: SHA1
      > > > >
      > > > > bigodines wrote:
      > > > > > How do I call it when I want to show?
      > > > > > I'm trying with almost no modification of the example (I
      just
      > would
      > > > > > like to see if it would works).
      > > > >
      > > > > > var callback = {
      > > > > > success : function(o) {
      > > > > > document.getElementById
      ("content").innerHTML = o.responseText;
      > > > > > YAHOO.feedelho.panel.wait.hide();
      > > > > > },
      > > > > > failure : function(o) {
      > > > > > document.getElementById
      ("content").innerHTML = "CONNECTION
      > > > FAILED!";
      > > > > > YAHOO.feedelho.panel.wait.hide();
      > > > > > }
      > > > > > }
      > > > >
      > > > >
      > > > > If I understand what you are trying to do, I believe you want
      to
      > > change
      > > > > the YAHOO...hide() in the success callback to a call to render
      ().
      > > > >
      > > > >
      > > >
      > >
      >
      http://developer.yahoo.com/yui/docs/container/YAHOO.widget.Panel.html#
      render
      > > > >
      > > > > You may also have to have a show() call in there as well, but
      I'm
      > > > not sure:
      > > > >
      > > > >
      > > >
      > >
      >
      http://developer.yahoo.com/yui/docs/container/YAHOO.widget.Module.html
      #show
      > > > >
      > > > > - --
      > > > > Matt Warden
      > > > > Cleveland, OH, USA
      > > > > http://mattwarden.com
      > > > >
      > > > >
      > > > > This email proudly and graciously contributes to entropy.
      > > > > -----BEGIN PGP SIGNATURE-----
      > > > > Version: GnuPG v1.4.2.2 (GNU/Linux)
      > > > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
      > > > >
      > > > >
      iD8DBQFEw9GfrI3LObhzHRMRAvqgAJ0b6eoTG9j1jX91WBuaME01N+q96QCg7Xpu
      > > > > 1G2Jnv+TXwjcBemmrY+82p8=
      > > > > =X2yX
      > > > > -----END PGP SIGNATURE-----
      > > > >
      > > >
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.