Questions tagged [drag]

In computer graphical user interfaces, drag is the first phase of a drag-and-drop operation. This involves selecting a virtual object by "grabbing" it and dragging it with the mouse down to a different location or onto another virtual object. An instance of some object relating to what was grabbed is usually brought with the drag operation.

In computer graphical user interfaces, drag is the first phase of a drag-and-drop operation. This involves selecting a virtual object by "grabbing" it and dragging it with the mouse down to a different location or onto another virtual object. An instance of some object relating to what was grabbed is usually brought with the drag operation.

2133 questions
9
votes
3 answers

Swiper Touch Events - Enable click but disable drag

I am using Swiper 3.4.2 slider with thumbs as a pagination slider. And I need to disable drag on the pagination slider but to enable click events so the main slider can be changed by clicking on thumbs in the pagination slider. var galleryThumbs…
Mladen Janjetovic
  • 13,844
  • 8
  • 72
  • 82
9
votes
9 answers

How to move form without form border (visual studio)

I am making a windows form application in visual studio 2013 Express. In order to make the application look more customized and attractive, I designed the forms in my application. I set the form border style to 'NONE' and made my own title and…
Centaurian
  • 277
  • 1
  • 3
  • 11
9
votes
2 answers

how to keep dragged TitleWindow within Flex app boundary

I am using PopupManager in FB4 to display a custom dialog. popwin = new TitleWindow(); popwin.addElement(myCustomDialog); PopUpManager.addPopUp(popwin,this,false); PopUpManager.centerPopUp(popwin); It's possible to drag the…
Tim
  • 429
  • 6
  • 19
9
votes
4 answers

Java 7: How to implement drag & drop in Java?

I am currently experimenting with drag&drop using Java 7 Update 21. My target operating systems are: Windows 7 Ubuntu 12.04 Mac OSX 10.6 / 10.8 The requirements are: drag files from the filesystem and drop it to my Java application (making a copy…
salocinx
  • 3,715
  • 8
  • 61
  • 110
9
votes
1 answer

D3 force layout: making pan on drag (zoom) smoother

I've got a d3.js static force layout graph that can get rather big (sometimes parts of it are clipped), so I'd like to let the user pan the whole graph by dragging. I don't think I need dragging of individual nodes, I've got a feeling that's just…
unhammer
  • 4,306
  • 2
  • 39
  • 52
8
votes
4 answers

How to NOT-click a href while dragging in iScroll

I have the iScroll enabled on my page. Notice the images in the scroller are links (so a popup opens for the bigger image, y'know the deal). BUT one of the lovely features of iScroll is that you can drag your mouse to scroll. BUT now, when someone…
Don Munter
  • 613
  • 2
  • 10
  • 20
8
votes
6 answers

Jquery UI toggle button (checkbox) click/drag bug

I'm posting this along with the best answer I have come up with. I haven't found any similar questions, so here goes. When a input of type checkbox is converted to a jquery ui button, I have observed (as have others) that it only registers a click…
LOAS
  • 7,161
  • 2
  • 28
  • 25
8
votes
1 answer

keydown event not fired while mouse dragging in Chrome

I noticed a strange behavior regarding keydown event in Chrome. I have this simple script (http://jsfiddle.net/xYDbt/1/):