Hello,
I was experimenting with the onDragEnter event and realized it only works in IE. How can I recreate this event using jQuery, so that I can get information about what is being dragged, etc.?
For example, I'm trying to drag some random text over a box that can recognize what the text is, etc. I also need to be able to drag some ra...
We're about to commit to Qt and C++ (sigh) to do some cross-platform development. The latest version of Qt 4.5 seems very nice as does the QT Creator IDE, which although simple compared to other IDEs, is a good way to get started.
I'm trying to understand how to do drag and drop into QT widgets from the "outside" world. As far as I can ...
I'm using a AJAX call to create a new droppable box. Now within that box I want to create another droppable container after a successful drag and drop event into that box. I don't want to create a recursive call, however.
$("#box").click(
function (e)
{
// Create container
// Create addDrop droppable firs...
Hi there,
I have got a hierarchichal tags (with parent child relationship) in my page and it will account to 500 - 4500 (can even grow). When i bound the draggable and droppable for all i saw very bad performance in IE7 and IE6. The custom helper wont move smoothly and was very very slow. Based on some other post i have made the dro...
(I've searched and browsed XSLT questions, as well as looked at Altova's product, though not yet Stylus's product.)
I do not want to hear again that XSLT is complicated and difficult to hand-code. That's how HTML was when it was first popularized. (I know, apples and oranges comparison because XSLT is a processing language and HTML is j...
Hello,
I will explain my question a little more.
I have a ObservableCollection binded to a ItemsControl with it datatemplate. Nothing new :P.
The thing is that I'm using a Drag & Drop library for changing the order of the items in the ItemsControl. The library works fine, you can drag some items in the ItemsControl.
The problem is th...
I'm seeing some occasional (one time in five), momentary (5-10 seconds) "freezing" when it dragspossibly as part of the -startcommand callback. It never happens on the first drag.
The callback is simple enough; it just sets the text of the dragging cursor to the value that is being dragged:
sub DragStart {
my( $token ) = @_;
my $w...
I'm creating a small ruby script to resize images and save them in a specified directory. I'd like the application to be as transparent as possible.
Is it possible to allow file dropping onto my Ruby script in all platforms? For instance, the user drags a file onto the script, which then takes the file path as an argument and resizes th...
how do i find out which application dropped some content on my c# form? right now i'm doing some wild guesses, like
if (e.Data.GetDataPresent("UniformResourceLocatorW", true)) {
// URL dropped from IExplorer
}
but what i'm really looking for is something like
if (isDroppedFrom("iexplorer")) {
// URL dropped from IExplorer
}
any...
When using jQuery UI draggables and droppables, how do you change the dragged-and-dropped element on drop? I am trying to drag one DIV to another sortable DIV. On drop, I'd like to change the classes on the dropped DIV and change its innerHTML content.
After reading various StackOverflow questions, my code looks like this:
$(".column")...
EDIT: Here's a link to show you my sample code: http://www.singingeels.com/jqtest/
I have a very simple page that references jquery-1.3.2.js, ui.core.js (latest version) and ui.draggable.js (also latest version).
I have a div that I can drag around very easily (using the mouse of course):
<div id="myDiv">hello</div>
and then in Java...
I would like trigger the drag target control to redraw itself (via either invalidate or refresh) during the DragEnter and DragLeave events. The code looks something like:
protected override void OnDragEnter (DragEventArgs drgargs)
{
//-- Set a property that affects drawing of control, then redraw
this.MyProperty = true;
this.Refr...
Hi,
I'm integrating a Google Map in my website that user could add some thumbnails and details of their own house. Here's a code preview of what I want to happen.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Jquery and Google Map
//
...
I have been considering using the code example shown at Shell Style Drag and Drop in .NET - Part 3 within a WPF project. The sample project works fine, it is a great article so check it out!
However when moving the code to my project I receive an error when compiling "Unsafe code may only appear if compiling with /unsafe" I understa...
I would like to drag and drop files from windows explorer onto my application which is being built in Codegear RAD studio 2009. Then I would like to be able to access data from the object I am dragging and dropping. I believe I have to implement IDropTarget. Can someone please provide an example of how I might implement IDropTarget to ac...
Hi All,
I am working on a ShellExtension code in C++. I am creating a Virtual Drive. Which represents a repository somewhere in the Network. What I want now is to enable Drag-Drop functionality to this Drive. I want to enable user to drag the file to that Virtual Drive and then I must be able to Grab that event, so that I can perform my...
Hi,
I am currently working on a project where I have to create a custom calendar sort of application to display and manage appointments easily.
I need to be able to drag and reschedule appointments appropriately. jQuery-ui is pretty neat and I am able to achieve almost everything except that I require that no appointments (divs) may ov...
I have multiple draggable elements and I don't want them to be dropped on top of each other. I'd want the dragged element to appear light green when dragged, but once it's over element with certain class, it would turn red. If it would be dropped it would revert to its original position.
Everything else is simple, but I would need an ev...
I want to enable drag and drop from our windows forms based application to Windows Explorer. The big problem: The files are stored in a database, so I need to use delayed data rendering. There is an article on codeproject.com, but the author is using a H_GLOBAL object which leads to memory problems with files bigger than aprox. 20 MB. I ...
Hi,
I want to be able to create a div in my application by clicking and dragging. Clicking would initiate the div creation, while dragging would resize the div.
I have seen similar functionality in several jquery calendar plugins, I want to be able to do it in my application too.
Can anyone please guide me into the right direction? An...