470,586 Members | 1,272 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,586 developers. It's quick & easy.

Drag and drop across the frames

Hi All,
I am writting a java script library which will provide inter frame drag
and drop operation. The more precise will be OLE drag and drop, which
means only data will be transfered from frame to frame not any object.
But it should happen in a drag and drop fashion. The requirement is,
user will click on one object and will drag the mouse to another frame
and will drop on some object the data will be passed by this and some
action will happen depending upon the data passed.
Now the problem is when I start dragging from one frame and cross to
other frame the mousemove or mouseover events are not occuring on that
frame. More over mouse up event is alos not occuring on the object on
which I drop the data.

Can some one please suggest any thing?

Please let me know if you guys need any clarification.

Thanks in advance

Hemant..

Jul 23 '05 #1
6 6062
VK
are both frames from the same domain?

Jul 23 '05 #2
Yes. they are from same domain. May be they will be from different
application in the future.

Thanks
Hemant

Jul 23 '05 #3
VK
he***********@yahoo.com wrote:
Yes. they are from same domain. May be they will be from different
application in the future.

Thanks
Hemant


What about ondragdrop/ontragover events (FF) and the equivalent set in
IE (ondrag etc.)

Are they firing?

Jul 23 '05 #4

<he***********@yahoo.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Hi All,
I am writting a java script library which will provide inter frame drag
and drop operation. The more precise will be OLE drag and drop, which
means only data will be transfered from frame to frame not any object.
But it should happen in a drag and drop fashion. The requirement is,
user will click on one object and will drag the mouse to another frame
and will drop on some object the data will be passed by this and some
action will happen depending upon the data passed.
Now the problem is when I start dragging from one frame and cross to
other frame the mousemove or mouseover events are not occuring on that
frame. More over mouse up event is alos not occuring on the object on
which I drop the data.

Can some one please suggest any thing?

Please let me know if you guys need any clarification.

Thanks in advance

Hemant..


i thought you could only drag within one document at a time.
each frame would have to have it's own drag and drop code, wouldn't it?
these are frameset frames, not iframes, right?

Jul 23 '05 #5
Sorry guys for late reply was away from office.

"i thought you could only drag within one document at a time.
each frame would have to have it's own drag and drop code, wouldn't it?

these are frameset frames, not iframes, right?"

yes right actually as i am writting library which will be included on
every page so that will not be a problem but the problem is event
started on one frame is not getting continued to other frame. As i need
to support other that IE i can not use ondragdrop/ontragover events

Jul 26 '05 #6

<he***********@yahoo.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Sorry guys for late reply was away from office.

"i thought you could only drag within one document at a time.
each frame would have to have it's own drag and drop code, wouldn't it?

these are frameset frames, not iframes, right?"

yes right actually as i am writting library which will be included on
every page so that will not be a problem but the problem is event
started on one frame is not getting continued to other frame. As i need
to support other that IE i can not use ondragdrop/ontragover events


i suppose it could be done.
when the mouse hits the right edge of the first document
you will have to remember that, so when the mouse enters
the left edge of the other document you can make a copy of
the object and continue dragging.
Jul 26 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by srikanth | last post: by
4 posts views Thread by Peter Wagner | last post: by
1 post views Thread by emferrari | last post: by
1 post views Thread by Ramesh Chawla | last post: by
1 post views Thread by Simone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.