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

21187Re: [ydn-javascript] drag and drop

Expand Messages
  • chandra sekar
    Nov 19, 2007
    • 0 Attachment
      Hi Dav ,
       
      Thanks for your quick reply .
       
      Please find the part of the source code and the comments written from line number 23 .
       
       
      Thanks
      Chandra


       
      ----- Original Message ----
      From: "dav.glass@..." <dav.glass@...>
      To: ydn-javascript@yahoogroups.com
      Sent: Friday, 16 November, 2007 9:34:45 PM
      Subject: Re: [ydn-javascript] drag and drop

      Chandra --

      Can you post a link to an example?

      It's hard to debug DragDrop with only seeing that one line of code :)

      Thanks
      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: chandra sekar <mail_to_chandru@ yahoo.co. in>
      To: ydn-javascript@ yahoogroups. com
      Sent: Friday, November 16, 2007 5:33:49 AM
      Subject: [ydn-javascript] drag and drop

      Hi ,

      I am using Drag and drop in our application . After drag/drop and press save , i need to retain the dragged DIV .
      I have retained the DIV using innerHTML . But i could not drag after that .

      I have initialized drag using new YAHOO.util.DD( "element1" ); But cannot drop it in the place where i want to . How do i drop it in the specified container . My code looks like this after i save .


      colsJS.innerHTML+ ="<div class='listBox' style='height: 12px;' id='element1'><div  style='display: inline;font- size:11px; float:left' >"+splitMeasure+ "</div><div style='display: inline; float:right'><img src='images/ close_nodes3. gif' onclick='removeV( "+splitMeasureID +")' border='0' style='cursor: hand; float:right; '  /></div>"
              new YAHOO.util.DD( "element1" );

      Thanks in advance ,
      waiting for ur reply ,

      Chandra


            Get the freedom to save as many mails as you wish. To know how, go to http://help. yahoo.com/ l/in/yahoo/ mail/yahoomail/ tools/tools- 08.html



      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@yahoogrou ps.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/





      5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.
    • Show all 23 messages in this topic