Questions tagged [containment]

94 questions
1
vote
3 answers

Jquery Draggable Circle Containment

I've searched for an answer for this and couldn't find it... so hopefully someone can help me out. I'm trying to create a draggable div (using jquery ui) that is contained to a circle (and not a square). Right now, I've got the containment setting…
andyopayne
  • 1,348
  • 3
  • 24
  • 49
1
vote
1 answer

Bring overlapping UIViewController to front

I currently have three view controllers going on in my iPhone application at the same time. I use a slidingView. Here is my image: When I tap on a table view cell, I want to open a new view controller like this: (the egg is representing a new…
1
vote
1 answer

Analogue of Cocos2D replaceScene in UIKit

I have used Cocos2D for a few months. I use: MyCCScene *sceneToRun = [MyCCScene node]; [[CCDirector sharedDirector] replaceScene:sceneToRun]; This loads the new scene, cleans the previous scene from memory, then displays the new scene. Pretty…
SPQR3
  • 647
  • 7
  • 20
1
vote
0 answers

How to set the container to a draggable element's handle in jQuery UI?

I have an absolute div inside of another absolute positioned div.
For example, assume the container is 1000px x 1000px, the "drag" element is 100px x 100px…
kbaker4v
  • 11
  • 1
1
vote
2 answers

jquery resizable containment in table

I have a table which contains a Div which I would like to be resizable. I need to know how to set the container element for this div. I have tried solving this problem by creating a div around the table, to act as a container, but resizable() still…
Igor Alemasow
  • 4,484
  • 2
  • 27
  • 24
1
vote
1 answer

Draggable object "glued" to border

I've created a user control that includes a label inside a draggable div, like this: