9 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for nadiam

i have this code that creates a div, adds id and appends the div. I am trying to drag that div but its not working like it should. $("<div class='twin_seat' style='width:120px;display:table-row;'></div>") .attr('id', twinseatsid) .appendTo(cinema) .draggable({ containment: cinema, snap: true, helper: 'clone' }); im using `helpe: clone` because i just want …

Member Avatar for nadiam
0
199
Member Avatar for JamesCherrill

Hello all. I'm currrently working on a GUI that needs to support dragging some application-specific objects from a selection area onto a work area (JPanel). It's currently working in a "click where to place the object, then click the Add button" mode, but that's not good enough. The obvious approach …

Member Avatar for JamesCherrill
2
1K
Member Avatar for double_cola

Hey guys I have a page where a user can drag and drop ellements into divs 's and everything works great, but I need the div to only accept 1 element. Check it out [Click Here](http://www.cintascsr.com/test_site/report/) Right now you can drag both pdf docs into one "send to print" div. …

Member Avatar for AleMonteiro
0
322
Member Avatar for javaa

Hello ,,, i'v started learning Game programming with java before 1 week and now am developing a drag and drop game , and am having a trouble with MouseListener and MouseMotionListener / drag and drop methods / i just wrote a simple code i'v seen on web but i had …

Member Avatar for javaa
0
217
Member Avatar for Pravinrasal

Hello everyone I created one canvas and draw one line on it I want to move this line using mouse on the canvas How to move line on canvas because using draggable function it cant move so pls help me.

Member Avatar for Pravinrasal
0
768
Member Avatar for kazekagerandy

how can i crop an image based on the size of my picturebox? my picturebox's size mode is normal, i want to have for example, a 100 x 100 image using a 100 x 100 picture box, also i can drag the the image inside the picturebox so that i …

Member Avatar for Jeff-Bennett
0
402
Member Avatar for kazekagerandy

how can i zoom an image inside a picturebox? and i also want to know how can i make a picture inside the picturebox draggable while at the same time, it can be zoomed in and out. my goal is to crop an image inside the picturebox and i can …

Member Avatar for kazekagerandy
0
2K
Member Avatar for benny2010

Dear all, i am trying to get my sprite to be dragged around the screen by clicking the mouse, i can get it to attach to the mouse but cannot get it to unattach itself, i coded the if not mouse click then set mouse attach to false but it …

Member Avatar for benny2010
0
153
Member Avatar for ddanbe

Hi all, I know how to drag and drop an image from one control to another. Code enough out there. It works fine, but I find the user interface a bit poor:'( I want my image to follow the mouse while held down. Found nothing that serves my needs on …

Member Avatar for Diamonddrake
0
738

The End.