473,748 Members | 8,367 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 6284
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***********@y ahoo.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.goo glegroups.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.goo glegroups.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
4168
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 displaying all the documentcollections(dynamic) in the Treestructure, In the Right side we are displaying all the HolderGroups (dynamic).We have to assing Any one of the Documentcollections to HolderGroups, through Drag and Drop
2
6381
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 with an "overflow: auto" it seems to lose the onmouseover event for my target. Anyone come across this issue and found a resolution? Please advise. Here is a link to my code.
4
2590
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 how to extract the values. :-( Code in B -------------- private void ListView_DragDrop(object sender,
1
3503
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 only in a single node operation. Here is my current code: private void trv_Directories_ItemDrag(object sender, ItemDragEventArgs e)
1
1932
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 rightmost frames take 25% space each and rest 50% is occupied by the middle frame. 2)Now, what I would like is to load the data from some datatable into the
1
1390
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
8152
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 "Shift" or "Ctrl" buttons to select multiple items from LIST 1 and drag them to LIST 2 in one go. I've already have the code to drag and drop between lists but for 1 item at a time. The only method to move multiple items between lists
1
3830
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 the data type to "text" at the source, so that the drop operation simply drops a set text string onto a target text entry field. Under IE, when dragging an object, it is possible to catch the “dataTransfer.setData” event to set up the data to be...
4
3425
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 image from one frame to another , the image just disappears. Can some one please tell me how this can be done? Thanks, Himani
0
8984
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9363
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9312
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9238
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8237
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6793
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4593
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2775
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.