473,415 Members | 1,584 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,415 software developers and data experts.

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 6240
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: srikanth | last post by:
Hi all, I have an requirement in one of my projects. We have one aspx page, in that we have two frames, in each frame having a tree structure control(dynamic data). In the left Frame we are...
2
by: matthewmacchia | last post by:
I believe this is a Firefox bug but I was hoping someone found a workaround. I have implemented drag and drop functionality, but if I try to drag an element from a div that happens to have a div...
4
by: Peter Wagner | last post by:
Hi There are 2 different .NET Programs A und B. I'll drag a TreeNode from a TreeView in A into a ListView in B. In B I'll extract values from the dropped TreeNode. Unfortunately I don't know...
1
by: emferrari | last post by:
Hi everybody I have two treeviews, one of them is only to receive items dragged from the treeview1. I want to know how to drag a full node information to the treeview2. I know how to do that...
1
by: Ramesh Chawla | last post by:
Hi, I want to implement drag a drop kind of functionality across frames using ASP.NET(VC#). The scenario is like, 1) I want to break the screen into 3 frames with the leftmost and the...
1
by: Simone | last post by:
Is it possible to enable drag functionality for an object in a frame and then drop it in another frame? If yes, how? Thank you. Simone
2
by: anchi.chen | last post by:
Hi People, Just wondering if any of you have ever come across any javascript examples that will allow one to drag and drop multiple items between lists? That is, users would be able to use the...
1
by: patrickq | last post by:
What am trying to achieve is dragging an element from one IFRAME/FRAME into another IFRAME/FRAME. But upon dropping the element, I do not want the target IFRAME/FRAME to open/load it. I want to set...
4
by: Himzi | last post by:
Hi , I am trying to create a webpage. It has 3 frames (left, middle and right). I want to be able to drag images from the left and the right frame into the middle frame. Each time i try to drag an...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.