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

Re: [ydn-javascript] how to achieve this scriptaculous behavior

Expand Messages
  • dav.glass@yahoo.com
    Yes, this could easily be built using the YUI Libraries. However, I am not aware of anyone who has built one (yet). Dav Glass dav.glass@yahoo.com davglass.com
    Message 1 of 6 , Dec 3, 2006
    • 0 Attachment
      Yes, this could easily be built using the YUI Libraries. However, I am not aware of anyone who has built one (yet).
       
      Dav Glass
      dav.glass@...
      davglass.com
      618.694.3476

      + 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: realistindenial <realistindenial@...>
      To: ydn-javascript@yahoogroups.com
      Sent: Sunday, December 3, 2006 5:02:53 PM
      Subject: [ydn-javascript] how to achieve this scriptaculous behavior

      Hello,

      I've been lightly using the scriptaculous library for several months
      and like it, but I am considering switching to Yahoo's UI library
      mostly because the documention for scriptaculous is lacking.

      Before doing so, I need to know if Yahoo's UI library can produce the
      following behavior as demonstrated here:

      http://www.gregphoto.net/sortable/advanced/

      Specifically, the ability to sort items within a group plus sort the
      groups themselves. I'm already using a variation of this, which my
      application greatly depends on.

      All comments welcome.




      Yahoo! Groups Links

      <*> To visit your group on the web, go to:
          http://groups.yahoo.com/group/ydn-javascript/

      <*> Your email settings:
          Individual Email | Traditional

      <*> To change settings online go to:
          http://groups.yahoo.com/group/ydn-javascript/join
          (Yahoo! ID required)

      <*> To change settings via email:
          mailto:ydn-javascript-digest@yahoogroups.com
          mailto:ydn-javascript-fullfeatured@yahoogroups.com

      <*> To unsubscribe from this group, send an email to:
          ydn-javascript-unsubscribe@yahoogroups.com

      <*> Your use of Yahoo! Groups is subject to:
          http://docs.yahoo.com/info/terms/


    • Eric Miraglia
      realistindenial, A good place to start with this kind of implementation would be Adam Moore s Drag & Drop documentation on the YUI website, specifically his
      Message 2 of 6 , Dec 4, 2006
      • 0 Attachment
        realistindenial,

        A good place to start with this kind of implementation would be Adam Moore's Drag & Drop documentation on the YUI website, specifically his Sortable List example.

        You'd need merely to change the CSS some, and then make the containing blocks for the larger list into draggable list items themselves.  Shouldn't be terribly hard to do, and absolutely supported by YUI.

        Regards,
        Eric


        ______________________________________________
        Eric Miraglia
        Yahoo! Presentation Platform Engineering



        On Dec 3, 2006, at 6:12 PM, dav.glass@... wrote:


        Yes, this could easily be built using the YUI Libraries. However, I am not aware of anyone who has built one (yet).
         
        Dav Glass
        dav.glass@yahoo.com
        davglass.com
        618.694.3476

        + 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: realistindenial <realistindenial@yahoo.com>
        To: ydn-javascript@yahoogroups.com
        Sent: Sunday, December 3, 2006 5:02:53 PM
        Subject: [ydn-javascript] how to achieve this scriptaculous behavior

        Hello,

        I've been lightly using the scriptaculous library for several months
        and like it, but I am considering switching to Yahoo's UI library
        mostly because the documention for scriptaculous is lacking.

        Before doing so, I need to know if Yahoo's UI library can produce the
        following behavior as demonstrated here:

        http://www.gregphoto.net/sortable/advanced/

        Specifically, the ability to sort items within a group plus sort the
        groups themselves. I'm already using a variation of this, which my
        application greatly depends on.

        All comments welcome.




        Yahoo! Groups Links

        <*> To visit your group on the web, go to:
            htt! p://groups.yahoo.com/group/ydn-javascript/

        <*> Your email settings:
            Individual Email | Traditional

        <*> To change settings online go to:
            http://groups.yahoo.com/group/ydn-javascript/join
            (Yahoo! ID required)

        <*> To change settings via email:
            mailto:ydn-javascript-digest@yahoogroups.com
            mailto:ydn-javascript-fullfeatured@yahoogroups.com

        <*> To unsubscribe from this group, send an email to:
            ydn-javascript-unsubscribe@yahoogroups.com

        <*> Your use of Yahoo! Groups is subject to:
            http://docs.yahoo.com/info/terms/




      • John
        Thanks for your response and confirmation. I have previously seen this example and you re right, it does behave similarly. I m wondering if the behavior of the
        Message 3 of 6 , Dec 4, 2006
        • 0 Attachment
          Thanks for your response and confirmation.
           
          I have previously seen this example and you're right, it does behave similarly. I'm wondering if the behavior of the drop can be changed so that the item isn't moved until the mouse button is released inside the container.
           
          Thanks,
          John

          Eric Miraglia <miraglia@...> wrote:
          realistindenial,

          A good place to start with this kind of implementation would be Adam Moore's Drag & Drop documentation on the YUI website, specifically his Sortable List example.

          You'd need merely to change the CSS some, and then make the containing blocks for the larger list into draggable list items themselves.  Shouldn't be terribly hard to do, and absolutely supported by YUI.

          Regards,
          Eric


          ____________ _________ _________ _________ _______
          Eric Miraglia
          Yahoo! Presentation Platform Engineering



          On Dec 3, 2006, at 6:12 PM, dav.glass@yahoo. com wrote:


          Yes, this could easily be built using the YUI Libraries. However, I am not aware of anyone who has built one (yet).
           
          Dav Glass
          dav.glass@yahoo.com
          davglass.com
          618.694.3476

          + 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: realistindenial <realistindenial@yahoo.com>
          To: ydn-javascript@yahoogroups.com
          Sent: Sunday, December 3, 2006 5:02:53 PM
          Subject: [ydn-javascript] how to achieve this scriptaculous behavior

          Hello,

          I've been lightly using the scriptaculous library for several months
          and like it, but I am considering switching to Yahoo's UI library
          mostly because the documention for scriptaculous is lacking.

          Before doing so, I need to know if Yahoo's UI library can produce the
          following behavior as demonstrated here:

          http://www.gregphoto.net/sortable/advanced/

          Specifically, the ability to sort items within a group plus sort the
          groups themselves. I'm already using a variation of this, which my
          application greatly depends on.

          All comments welcome.




          Yahoo! Groups Links

          <*> To visit your group on the web, go to:
              htt! p://groups.yahoo.com/group/ydn-javascript/

          <*> Your email settings:
              Individual Email | Traditional

          <*> To change settings online go to:
              http://groups.yahoo.com/group/ydn-javascript/join
              (Yahoo! ID required)

          <*> To change settings via email:
              mailto:ydn-javascript-digest@yahoogroups.com
              mailto:ydn-javascript-fullfeatured@yahoogroups.com

          <*> To unsubscribe from this group, send an email to:
              ydn-javascript-unsubscribe@yahoogroups.com

          <*> Your use of Yahoo! Groups is subject to:
              http://docs.yahoo.com/info/terms/






          Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster.
        • Eric Miraglia
          John, Absolutely. None of the behaviors here are hard-wired into the Drag & Drop Utility — the move-during-drag behavior is something that Adam implemented
          Message 4 of 6 , Dec 4, 2006
          • 0 Attachment
            John,

            Absolutely.

            None of the behaviors here are hard-wired into the Drag & Drop Utility — the move-during-drag behavior is something that Adam implemented as part of that example.  (See this post for a bit more on that particular example.)

            Instead of moving the the <li> in the onDragOver event, you could choose to do so only in the onDragDrop event — the event that fires at the completion of a Drag/Drop interaction when the dragged item is dropped on a legitimate target.

            Regards,
            Eric


            ______________________________________________
            Eric Miraglia
            Yahoo! Presentation Platform Engineering



            On Dec 4, 2006, at 11:06 AM, John wrote:


            Thanks for your response and confirmation.
             
            I have previously seen this example and you're right, it does behave similarly. I'm wondering if the behavior of the drop can be changed so that the item isn't moved until the mouse button is released inside the container.
             
            Thanks,
            John

            Eric Miraglia <miraglia@yahoo-inc.com> wrote:
            realistindenial,

            A good place to start with this kind of implementation would be Adam Moore's Drag & Drop documentation on the YUI website, specifically his Sortable List example.

            You'd need merely to change the CSS some, and then make the containing blocks for the larger list into draggable list items themselves.  Shouldn't be terribly hard to do, and absolutely supported by YUI.

            Regards,
            Eric


            ______________________________________________
            Eric Miraglia
            Yahoo! Presentation Platform Engineering



            On Dec 3, 2006, at 6:12 PM, dav.glass@yahoo.com wrote:


            Yes, this could easily be built using the YUI Libraries. However, I am not aware of anyone who has built one (yet).
             
            Dav Glass
            dav.glass@yahoo.com
            davglass.com
            618.694.3476

            + Windows: n. - The most successful computer virus, ever. +
            + A computer without a Microsoft op! erating 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: realistindenial <realistindenial@yahoo.com>
            To: ydn-javascript@yahoogroups.com
            Sent: Sunday, December 3, 2006 5:02:53 PM
            Subject: [ydn-javascript] how to achieve this scriptaculous behavior

            Hello,

            I've been lightly using the scriptaculous library for several months
            and like it, but I am considering switching to Yahoo's UI library
            mostly because the documention for scriptaculous is lacking.

            Before doing so, I need to know if Yahoo's UI library can produce the
            following behavior as demonstrated here:

            http://www.gregphoto.net/sortable/advanced/

            Specifically, the ability to sort items within a group plus sort the
            groups themselves. I'm already using a variation of this, which myapplication greatly depends on.

            All comments welcome.




            Yahoo! Groups Links

            <*> To visit your group on the web, go to:
                htt! p://groups.yahoo.com/group/ydn-javascript/

            <*> Your email settings:
                Individual Email | Traditional

            <*> To change settings online go to:
                http://groups.yahoo.com/group/ydn-javascript/join
                (Yahoo! ID required)

            <*> To change settings via email:
                mailto:ydn-javascript-digest@yahoogroups.com
                mailto:ydn-javascript-fullfeatured@yahoogroups.com

            <*> To unsubscribe from this group, send an email to:
                ydn-javascript-unsubscribe@yahoogroups.com

            <*> Your use of Yahoo! Groups is subject to:
                http://docs.yahoo.com/info/terms/







            Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster.


          • tropeanojohn
            Terrific, that worked. Thank you. ... behave similarly. I m wondering if the behavior of the drop can be changed so that the item isn t moved until the mouse
            Message 5 of 6 , Dec 4, 2006
            • 0 Attachment
              Terrific, that worked. Thank you.

              --- In ydn-javascript@yahoogroups.com, John <realistindenial@...> wrote:
              >
              > Thanks for your response and confirmation.
              >
              > I have previously seen this example and you're right, it does
              behave similarly. I'm wondering if the behavior of the drop can be
              changed so that the item isn't moved until the mouse button is
              released inside the container.
              >
              > Thanks,
              > John
              >
              > Eric Miraglia <miraglia@...> wrote:
              > realistindenial,
              >
              > A good place to start with this kind of implementation would be
              Adam Moore's Drag & Drop documentation on the YUI website,
              specifically his Sortable List example.
              >
              >
              > You'd need merely to change the CSS some, and then make the
              containing blocks for the larger list into draggable list items
              themselves. Shouldn't be terribly hard to do, and absolutely
              supported by YUI.
              >
              >
              > Regards,
              > Eric
              >
              >
              > ______________________________________________
              > Eric Miraglia
              > Yahoo! Presentation Platform Engineering
              >
              >
              >
              >
              >
              >
              > On Dec 3, 2006, at 6:12 PM, dav.glass@... wrote:
              >
              >
              >
              > Yes, this could easily be built using the YUI Libraries. However,
              I am not aware of anyone who has built one (yet).
              >
              > Dav Glass
              > dav.glass@...
              > davglass.com
              > 618.694.3476
              >
              > + 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: realistindenial <realistindenial@...>
              > To: ydn-javascript@yahoogroups.com
              > Sent: Sunday, December 3, 2006 5:02:53 PM
              > Subject: [ydn-javascript] how to achieve this scriptaculous behavior
              >
              > Hello,
              >
              > I've been lightly using the scriptaculous library for several months
              > and like it, but I am considering switching to Yahoo's UI library
              > mostly because the documention for scriptaculous is lacking.
              >
              > Before doing so, I need to know if Yahoo's UI library can produce the
              > following behavior as demonstrated here:
              >
              > http://www.gregphoto.net/sortable/advanced/
              >
              > Specifically, the ability to sort items within a group plus sort the
              > groups themselves. I'm already using a variation of this, which my
              > application greatly depends on.
              >
              > All comments welcome.
              >
              >
              >
              >
              > Yahoo! Groups Links
              >
              >
              >
              >
              >
              >
              >
              >
              >
              >
              >
              >
              >
              >
              >
              >
              >
              >
              >
              >
              >
              >
              > ---------------------------------
              > Check out the all-new Yahoo! Mail beta - Fire up a more powerful
              email and get things done faster.
              >
            Your message has been successfully submitted and would be delivered to recipients shortly.