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

And another NewBee Question

Expand Messages
  • rupnaldo
    Hi, I#ve another question at the moment. I wanna display a short message while execting an ajax request YAHOO.util.Connect.asyncRequest( GET , url, {
    Message 1 of 4 , Sep 30, 2007
      Hi,

      I#ve another question at the moment. I wanna display a short message
      while execting an ajax request

      YAHOO.util.Connect.asyncRequest( "GET", url,
      {
      success:successHandler,
      failure:failureHandler
      }

      In prototype I implemetent this by a option onLoading: message()

      So I#m wondering, if in YUI a similar procedure is awailable

      Regards
      Mic
    • Satyam
      You certainly can. You can have, for example, a with whatever content you want, set to absolute positioning, more or less centered in the screen and
      Message 2 of 4 , Sep 30, 2007
        You certainly can. You can have, for example, a <div> with whatever content
        you want, set to absolute positioning, more or less centered in the screen
        and with display:none in its style. Then, right before calling asyncRequest
        you set it to display:block and reset it to display:none both in the
        successHandler function and the failureHandler.


        ----- Original Message -----
        From: "rupnaldo" <rupnaldo@...>
        To: <ydn-javascript@yahoogroups.com>
        Sent: Sunday, September 30, 2007 4:43 PM
        Subject: [ydn-javascript] And another NewBee Question


        > Hi,
        >
        > I#ve another question at the moment. I wanna display a short message
        > while execting an ajax request
        >
        > YAHOO.util.Connect.asyncRequest( "GET", url,
        > {
        > success:successHandler,
        > failure:failureHandler
        > }
        >
        > In prototype I implemetent this by a option onLoading: message()
        >
        > So I#m wondering, if in YUI a similar procedure is awailable
        >
        > Regards
        > Mic
        >
        >
        >
        >
        > Yahoo! Groups Links
        >
        >
        >
        >
        >
        > --
        > No virus found in this incoming message.
        > Checked by AVG Free Edition.
        > Version: 7.5.488 / Virus Database: 269.13.35/1039 - Release Date:
        > 29/09/2007 21:46
        >
        >
      • dav.glass@yahoo.com
        rupnaldo -- This example should help you out: http://blog.davglass.com/files/yui/connection1/ Dav Dav Glass dav.glass@yahoo.com blog.davglass.com + Windows: n.
        Message 3 of 4 , Sep 30, 2007
          rupnaldo --

          This example should help you out:
          http://blog.davglass.com/files/yui/connection1/
           
          Dav

          Dav Glass
          dav.glass@...
          blog.davglass.com
           
           
          + Windows: n. - The most successful computer virus, ever. +
          + A computer without a Microsoft operating system is like a dog
          without bricks tied to its head +
          + A Microsoft Certified Systems Engineer is to computing what a
          McDonalds Certified Food Specialist is to fine cuisine +


          ----- Original Message ----
          From: rupnaldo <rupnaldo@...>
          To: ydn-javascript@yahoogroups.com
          Sent: Sunday, September 30, 2007 7:43:16 AM
          Subject: [ydn-javascript] And another NewBee Question

          Hi,

          I#ve another question at the moment. I wanna display a short message
          while execting an ajax request

          YAHOO.util.Connect. asyncRequest( "GET", url,
          {
          success:successHand ler,
          failure:failureHand ler
          }

          In prototype I implemetent this by a option onLoading: message()

          So I#m wondering, if in YUI a similar procedure is awailable

          Regards
          Mic


        • Michael Heyder
          Thanks Dav, that s really a good hint regards mic dav.glass@yahoo.com wrote: rupnaldo -- This example should help you out:
          Message 4 of 4 , Sep 30, 2007
            Thanks Dav,

            that's really a good hint

            regards
            mic

            dav.glass@... wrote:
            rupnaldo --

            This example should help you out:
            http://blog. davglass. com/files/ yui/connection1/
             
            Dav

            Dav Glass
            dav.glass@yahoo. com
            blog.davglass. com
             
             
            + Windows: n. - The most successful computer virus, ever. +
            + A computer without a Microsoft operating system is like a dog
            without bricks tied to its head +
            + A Microsoft Certified Systems Engineer is to computing what a
            McDonalds Certified Food Specialist is to fine cuisine +


            ----- Original Message ----
            From: rupnaldo <rupnaldo@yahoo. com>
            To: ydn-javascript@ yahoogroups. com
            Sent: Sunday, September 30, 2007 7:43:16 AM
            Subject: [ydn-javascript] And another NewBee Question

            Hi,

            I#ve another question at the moment. I wanna display a short message
            while execting an ajax request

            YAHOO.util.Connect. asyncRequest( "GET", url,
            {
            success:successHand ler,
            failure:failureHand ler
            }

            In prototype I implemetent this by a option onLoading: message()

            So I#m wondering, if in YUI a similar procedure is awailable

            Regards
            Mic





            Regards,
            Mic

            http://volleyball-portal-duisburg.de
            http://ruposblog.hafenvolleyballer.net
            http://hafenvolleyballer.net


            Be a better Heartthrob. Get better relationship answers from someone who knows.
            Yahoo! Answers - Check it out.

          Your message has been successfully submitted and would be delivered to recipients shortly.