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

Re: Opera and drag and drop problems

Expand Messages
  • jonesr909
    ... Thanks , changing to absolute positioning fixed the issue on opera and doesn t seem to have impacted any of the other browser. Why is opera different here
    Message 1 of 3 , May 7, 2007
    • 0 Attachment
      --- In ydn-javascript@yahoogroups.com, Adam Moore <adamoore@...> wrote:
      >
      > On Sun, May 06, 2007 at 01:42:18AM -0000, jonesr909 wrote:
      > > I'm having some interoperability problems and wondered if anyone else
      > > had the same issue. I have a chess board UI that uses YUI for drag and
      > > drop ( http://chesstempo.com/chess-tactics.html
      > > <http://chesstempo.com/chess-tactics.html> )
      > > The dragable elements use DDProxy and are built from a div with a
      > > background image
      > > holding the image of the piece (incidentally on IE I have to use an
      > > img as IE puts the hourglass up when trying to drag the divs with a
      > > background image). Everything seems to work fine on IE 6/7 , Safari
      > > and Firefox 2.0 (some issues seen on older Firefox 1.5, but only under
      > > Linux which I believe is not a supported platform). Under opera (on
      > > at least mac and linux) very strange things happen when dragging the
      > > pieces about. The position of the pieces are correct only in the
      > > first 3 columns of the board. Normally I'd say this is just my own
      > > silly bug, but given the consistency across other platforms I'm
      > > leaning towards this being an Opera issue, anyone else see drag and
      > > drop issues with Opera?
      >
      > Try changing your custom proxy element (pieceDragDiv) from
      > position:relative to position:absolute. If that doesn't work, please
      > provide a link to the non-minified version of your script.
      >

      Thanks , changing to absolute positioning fixed the issue on opera and
      doesn't seem to have impacted any of the other browser. Why is opera
      different here (or did I just get lucky with relative positioning on
      the other browser and I should have always been using absolute?).

      Thanks again,
      Richard.
    Your message has been successfully submitted and would be delivered to recipients shortly.