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

21147Re: [ydn-javascript] drag and drop

Expand Messages
  • dav.glass@yahoo.com
    Nov 16 8:04 AM
    • 0 Attachment
      Chandra --

      Can you post a link to an example?

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

      Dav Glass
      + 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@...>
      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 ,


            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:

      <*> Your email settings:
          Individual Email | Traditional

      <*> To change settings online go to:
          (Yahoo! ID required)

      <*> To change settings via email:

      <*> To unsubscribe from this group, send an email to:

      <*> Your use of Yahoo! Groups is subject to:

    • Show all 23 messages in this topic