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

Re: Drag and drop - am I missing something?

Expand Messages
  • gabriel
    Just figured this out in my own testing. Duh... silly me. =) Thanks for your quick response! -Gabriel ... do not ... object prior ... this by ... elements, or
    Message 1 of 3 , Feb 24, 2006
    • 0 Attachment
      Just figured this out in my own testing. Duh... silly me. =)

      Thanks for your quick response!

      -Gabriel

      --- In ydn-javascript@yahoogroups.com, Adam Moore <adamoore@...> wrote:
      >
      > On Fri, Feb 24, 2006 at 10:32:37PM -0000, gabriel wrote:
      > > Hi,
      > > Just getting started with the YUI, trying a basic drag-and-drop...
      > > having problems setting X or Y constraints. Am I doing something
      > > wrong? Here's my very simple code:
      >
      > Hi Gabriel, there is nothing wrong with your code. The constraints
      do not
      > get applied properly when attempting to create the drag and drop
      object prior
      > to the element being available in the document. You can get around
      this by
      > moving your JavaScript block either below the HTML for the dd
      elements, or
      > into a window.onload event handler.
      >
      >
      > -Adam
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.