> Hi: This is a DHTML question.
> I have noticed a strange thing when I was trying to do a
drag-and-drop on my page which is full of iFrame.
The object I am draging will follow the cursor ONLY when the cursor enters
the iFrame area FROM TOP-LEFT
QUADRANT!!! If the cursor enters the iFrame area from some other angles,
the object I am draging will get seperated from the cursor and will be
picked up when the cursor reaches the edge of iFrame.
> Does anybody have any solutions on this?
> Thanks!
> Tim Zhang
Hola!
Disculpa que te escriba en espaņol, pero creo que podras conseguir un
traductor por ahi.
El problema es que en tu Drag-and-Drop el cursor se mueve quedando situado
en la esquina superior izquierda del objeto que se mueve.
Esto hace que al mover el cursor hacia abajo y a la derecha, el cursor se
mueve sobre el mismo objeto, y por eso continua el Drag-and-Drop, el
Iframe no tiene nada que ver.
Esto se soluciona haciendo que cuando se hace click al objeto que se va a
mover, el cursor permanezca centrado en el objeto.
Si logras esto, podras acceder al Iframe desde cualquier sitio en que lo
aproximes.
cualquier cosa escribime y te ayudo mas.
Carlos