Hello,
I was wondering what would be the best way to implement some kind of "drag n drop" user interface?
What i mean is that there would be one main page and every link click (eg. other sections like about, gallery, contact form) would open a new drag n drop element on top of that main page. Something like windows desktop where you ca...
drag and drop file attachment to browser, how do they do it?
It seems gmail just starting this feature, and it doesn't require you to install any plugin etc.
it works in both firefox and chrome but not IE.
...
Hi all,
I just had a question regarding constraining a control's drag and drop movement to its parent canvas. I tried using the ConstrainToParentBounds property on the MouseDragElementBehavior, however, when this is used the drag must be done really slowly or the movement of the control is choppy or stops altogether.
So I am attempting ...
Hello,
I'd like to do Drag & Drop with the right mouse button instead with the left one. However calling
DragDrop.DoDragDrop()
from MouseRightButtonDown instead of MouseLeftButtonDown doesn't do the job - DragDrop.DoDragDrop looks for mouse movements while holding down the left mouse button. Any idea how to realise Drag & Drop using...
I'm trying to drag one img and so it fires ondragenter for IE and dragover event for standard browsers, on IE and FF after the user drags it could fire ondrop event however on Webkit based (chrome and safari), i need to cancel or preventDefault() on the dragover event, doing that so will disable the dragging. Any idea on solving this? Th...
Hi, I have a question about drag and drop and hoping one of you already solved it. I have an online web app where I can drag and drop annotations (arrows, stars) on top of an image that sits on a DIV.
Here's some things to know.
1) The image can be any size (sometimes big sometimes small)
2) The DIV of wrapper can be left aligned or cen...
Hi,
I would like to update the following javascript code based on Prototype framework to jQuery framework:
Event.observe(window, 'load', function() {
$$('.piece').each(function(item) {
new Draggable(item, { revert: true } );
});
$$('.cell').each(function(item) {
Droppables.add(item, {
accept: 'piece',
onDrop:...
How do I resize and image using jQuery but keep its aspect ratio the same?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>CrossSlide - A jQuery plugin to create pan and cross-fade animations</title>
<link href="h...
I have an MFC DocView SDI App that receives data from either the clipboard or drag and drop. The data is in either CF_HDROP or CF_TEXT format. I have a COleDropTarget derived CMyDropTarget member m_dropTarget of my CMainFrame class. I have two member functions of CMyDropTarget; OnDrop(...) and OnPaste() which each call another member fun...
Hi all,
I've written a little file-transfer application written in C++ using Qt 4.x ... it logs into a server, shows the user a list of files available on the server, and lets the user upload or download files.
This all works fine; you can even drag a file in from the desktop (or from an open folder), and when you drop the file icon in...
I want to display a huge image inside a viewport in a html page. I would like to be able to drag and drop the image to move it inside the viewport, like in Google Maps.
Any library where I can find such component?
Thanks in advance
...
C# Winforms 3.5
I have a list of user controls all derived from one base class. These controls can be added to various panels and I'm trying to implement the drag-drop functionality, the problem I'm running in to is on the DragDrop event.
The DragEventArgs: e.Data.GetData(typeof(baseClass)) doesn't work. It wants:
e.Data.GetData(type...
I made a javascript library that lets me drag a marker from a dragzone to one or more dropzones.
The problem is... the mouseup event happens over the marker I'm dragging, no te dropzone.
How can I detect in wich dropzone was the marker dropped, and in wich coordinates?
Here's my script:
http://dl.dropbox.com/u/186012/demos/dragger/dr...
Hey guys,
I've wrote some jquery code with some draggable elements and one droparea.
Unfortunately my droparea can't make a difference between various object.
Here's my code.
<script type="text/javascript">
$(function() {
$("#droparea").droppable({
drop: function(event) {
var $target = $(even...
I'm trying to, inside a dropevent method, find out which widget was just dropped. I tried looking at the docs, but they only have commands for images and text. How do I access both the item just dropped and which widget it was dropped on?(this is drag and drop inside of a QTreeWidget)
...
I'm trying to create a custom QTableView that will respond to drag and drop actions. So far, I have something like the following:
from PyQt4.QtCore import *
from PyQt4.QtGui import *
class FooTableView(QTableView):
def __init__(self, parent = None):
QTableView.__init__(self, parent)
self.setAcceptDrops(True)
d...
I am trying to create a C# application that runs in tray where I can drop files on it's icon.
Is there any way to get the path of the file dropped on the System Tray icon? System.Windows.Forms.NotifyIcon does not have any events related to drag and drop.
...
Hi,
I just want to add some kind of markers which are listed beside map, then user can drag them in to map. I tried to use GEvent.addDomListener(domObj, "drag",functName); but it didn't works. Is there any way to do that?
Thanks
Dau
...
I've subclassed NSCollectionView and I'm trying to receive dragged files from the Finder. I'm receiving draggingEntered: and returning an appropriate value, but I'm never receiving prepareForDragOperation: (nor any of the methods after that in the process). Is there something obvious I'm missing here?
Code:
- (void)awakeFromNib
{
[...
Is there a way to rotate an html table? So, say I had a table like this:
<table id="table-1" cellspacing="0" cellpadding="2">
<tr><td>1</td></tr>
<tr><td>2</td></tr>
<tr><td>3</td></tr>
<tr><td>4</td></tr>
<tr><td>5</td></tr>
<tr><td>6</td></tr>
</table>
and wanted to some sort o...