bbUI.js and jQuery UI drag and drop does not

Hey guys, I'm lost trying to integrate a drag and drop functionality using jQuery in my bbUI.js application. I don't know where to put my init code that makes the draggable element. I tried just this feature in my existing project workflow, but that doesn't seem to work. The elements are not movable. I don't want to clutter the page problems of github with a request for assistance. Thank you!

In case if someone seeks this I work.





$('#canvasphoto').droppable ({tolerance: 'fit'});

$(«#selectiondrag»).draggable({)
tolerance: "touch."
animate: true,
Scroll: false,
containment: $('#canvasphoto'),.
return: false,
Drag: function() {}
var Startpos = $(this) .position ();
$("div#start").text ("START: \nLeft:" + Startpos.left + "\nTop:" + Startpos.top);
}
});

This made the turn (move a div in a div)

I have a background image and a div (405 x 405) as an example that I can move left or right (but the div allows you can also move upwards or downwards)

I don't know that if I really need the areaselect, just let him in.

jQuery-ui I've selected only draggable/resize/move and the rest that I've left out.

Tags: BlackBerry Developers

Similar Questions

  • Drag and drop does not

    Since the upgrade to El Capitan, I can't drag and drop correctly to my reader network backed within the same window of the finder. Now the file on the device of destination for a while used to view lower-level items such as drives, folders, etc. subfolders. Now it goes only to the extent where the player so I can't drop the file where I want. Now, I need to copy and paste the file or use the finder windows 2, for the origin and destination.

    This used to work perfectly on the mavericks.

    I'm on Macbook Air (mid-2012)

    El Capitan 10.11.4 OSX

    By default, in my view, spring-loaded folders have been disabled. The setting is now in the prefs system of accessibility under the mouse and Trackpad. Make sure that this option is always enabled.

  • Drag-and - drop does not 2012 and Win 7

    This used to work, but somewhere along the way, I lost the ability to drag and drop access paths and excerpts from LV on a LV block diagram. Has anyone else seen elsewhere? I don't think it's a matter of windows. And it works in LV2011.


  • Drag and drop does not not on Windows 7

    Recently, it seems that I can just drag and drop files from anywhere within windows 7. I have the ability to right click and drag, but then I have to check his location with a 'move here' that is enough time especially when movement music titles. Any suggestions as to why it suddenly stopped working?

    Thank you very much
    Steve

    Hi Steeevb,

    What happens when you attempt to drag and drop?

    Method 1: Run the fixit available in the links below and check if that makes a difference-Worth to try
    Difficulty of broken desktop shortcuts and common system maintenance tasks

    Note: FixIt would attempt to recover bad sectors on the hard disk, in the course of this process there are chances of DATA loss from that particular area.

    Method 2: If a Protection of resources Windows (WRP) file is missing or is damaged, Windows may not behave as expected. Auditor of file system (CFS) scan to fix all of the corrupted system files. To do this, follow the steps mentioned in the link below:

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833

  • Dreamweaver CC 2015.3 interactive images - Hotspots do drag and drop does not work

    Dear all,

    I use Dreamweaver CC 2015.3 and try to use the Image Map option. I'm not using it in Liveveiw so there must be another problem.

    I have inserted a picture and give MapId image2. After that, I tried to drag and drop all three circle, polygon, and rectangle. Nothing happened.

    No map tag is packed. Nothing happens. What is the reason?

    Thank you

    Amir

    mamirs wrote:

    ... I have inserted a picture and give MapId image2.

    As much I know "MapId" is not an attribute of html for creating / using the clickable images.

    An image map using an attribute called 'well' in the tag which must match the attribute "name" of the tag. DW will write the attribute well, and tags automatically when you draw a shape, there is no need to add your own before drawing a card form (maybe it's and the use of an invalid attribute is confusing the program?). If you want to change the name of , make you in the properties of the window after you have created a form and DW will automatically update the necessary elements.

    To use the image map tools...

    1. place an image into your page (the tag should be used, image maps do not work on css-background images)
    2 single-left-click on the image in Design view to select it (a black box appears). If you see a blue border and a tab, when you click the image, you again Live View Editor and click on the triangle next to the Code, Split and buttons direct to change design

    3 left - click the shape you want in the Properties window to select the tool

    4. go to the image, click and drag (to a circle or square) or click on several points (for the polygon tool) to create your interactive image tag
    5. change the name of the card on the card Properties window

  • Drag and drop does not - symbol disappears when I try to drag

    I have a great animation I do beachfront animate and have already used the plugin jquery draggable several times. However yesterday I made a new symbol for a separate animation, then adds items and turned them into symbols and added the following code to the timeline of symbol on creationComplete:

    sym.$("milk-s").draggable();
    

    I tried with several different symbols, but whenever I check it in a browser, I click on the symbol to drag and it disappears in the place. I do not understand what I am doing wrong, as that's all the code in the actions of the timeline, and I do not know there is no code on the symbols I want to drag. I also copied and pasted the code from the moveable symbols that worked and changed the name, because they are a little more code for when you begin to drag the symbol.

    Thanks in advance!

    Make sure that your positions in the symbols are set to 0 (top and left) If you do not use an animation in here otherwise your symbols will be moving when you drag because they use these and no symbol registrations on the stage.

  • Drag and drop does not not in MacOS 10.7.5 EP 12 (Lion)

    I "copied" the icon of the editor of Photoshop elements 12 to the docking station.  When I drag and drop a photo (for example, JPG or NAVE) icon to the element editor icon in the dock, nothing happens - elements does not open.  The photo icon just "pops" in the folder I was dragging it since.  All previous versions of the components I used have behaved like any other Mac application and opened the photo (with a NAVE, the photo opened properly in the cab file).  Other Mac applications such as preview, open a file very well when she I do drag and drag the file on the application icon.

    I tried the same experiment with icons of the editor and organizer in my Applications folder and got the same results (the application does not open the file).

    I've skimmed through the preferences of PE to see if there was some kind of new preference for 'drag and drop' behavior, but found nothing.

    So, what don't get me?  How can I get 12 PE to open a file when I drag and drop a photo on the editor icon (or if I really, the Organizer) icon?

    Drag & drop works fine for me on 10.9

    Maybe you copied the wrong icon, the application is located in the support files.

    Applications > Adobe Photoshop Elements 12 > support files

    Locate the editor of Photoshop elements 12 in the Support files folder.

  • Problem slider disappears / Drag and Drop does not work

    Hey everybody,

    I have an urgent problem.

    Three butterflies are supposed to be slipped into an object.  My custom cursor is a kind of net to catch these butterflies.


    For the cursor, I have this code:

    cursor_mc.StartDrag ("true");
    Mouse.Hide ();

    My drag and drop code is:

    cursor_mc.addEventListener (MouseEvent.MOUSE_DOWN, startMove);
    redbutterfly_mc.addEventListener (MouseEvent.MOUSE_DOWN, startMove);
    violetbutterfly_mc.addEventListener (MouseEvent.MOUSE_DOWN, startMove);
    yellowbutterfly_mc.addEventListener (MouseEvent.MOUSE_DOWN, startMove);

    cursor_mc.addEventListener (MouseEvent.MOUSE_UP, stopMove);
    redbutterfly_mc.addEventListener (MouseEvent.MOUSE_UP, stopMove);
    violetbutterfly_mc.addEventListener (MouseEvent.MOUSE_UP, stopMove);
    yellowbutterfly_mc.addEventListener (MouseEvent.MOUSE_UP, stopMove);


    function startMove(evt:MouseEvent):void {}
    redbutterfly_mc.StartDrag ();
    cursor_mc.StartDrag ();
    violetbutterfly_mc.StartDrag ();
    yellowbutterfly_mc.StartDrag ();
    }

    function stopMove(evt:MouseEvent):void {}
    redbutterfly_mc.stopDrag ();
    cursor_mc.stopDrag ();
    violetbutterfly_mc.stopDrag ();
    yellowbutterfly_mc.stopDrag ();
    }

    But when I'm clicking on a butterfly my cursor stops to move and stay on the throttle position, that I'm dragging. After a fall, there is no cursor at all so we don't know where the mouse is currently located.

    Anyone know why it does not work? I am currently working with a mousefollower, because right now, it's the only way it works...

    The mousefollower code is:

    addEventListener (Event.ENTER_FRAME, enterFrameHandler)

    function enterFrameHandler(event:Event):void {}
    cursor_mc.x += cursor_mc.mouseX / 4;
    cursor_mc.y += cursor_mc.mouseY / 4;
    }

    But now I have the problem that only the Yellow Butterfly moves even if I'm clicking on red or purple...

    Please help me! Thank you in advance!

    Try to use the following code to manage the cursor_mc...

    Mouse.Hide ();
    cursor_mc.mouseEnabled = false; keep the cursor to interfere
    this.addChild (cursor_mc); to place the cursor at the highest level

    function moveCursor(evt:MouseEvent_=_null):void {}
    cursor_mc.x = mouseX;
    cursor_mc.y = mouseY;
    }
    stage.addEventListener (MouseEvent.MOUSE_MOVE, moveCursor);

    moveCursor(); to locate initially mouseover

  • Edge animate Drag n Drop does not not in DPS

    Hello guys,.

    I am trying to download an animation with a drag and drop features in my .folio.

    It works like a charm when I preview it in Safari or Firefox from EdgeAn.

    I use a updated the file downloaded from the EdgeHero Web site

    with

    "js/jquery-ui-1.9.2.custom.min.js,"

    "js/jquery.ui.touch-punch.min.js,"

    'css/jquery-ui-1.9.2.custom.min.css '.

    libraries to create a file .oam for DPS

    Here is the code

    () yepnope

    {

    Nope:]

    "js/jquery-ui-1.9.2.custom.min.js,"

    "js/jquery.ui.touch-punch.min.js,"

    'css/jquery-ui-1.9.2.custom.min.css '.

    ],

    full: init

    }

    );

    function init() {}

    var point = sym.$("Stage");

    rectangles var = ['blueRect', 'greenRect', 'redRect","pinkRect"];

    for (i = 0; i < rectangles.length; i ++) {}

    SYM. $(rectangles [i]) .css ({"text-align": "Center", 'position': 'absolute'}) ;/

    .draggable ({$(rectangles [i]) sym.

    return: true,

    containment: Stadium.

    grid: 20 (20) and

    opacity: 0.35

    });

    }

    SYM.$(rectangles[0]). AddClass ('correct');

    quick release box

    dropBox var = sym.$("dropCase1");

    dropBox.css ("position", "absolute");

    dropBox.droppable({)

    accept: "reason."

    Drop: function (event, ui) {}

    SYM. $(rectangles [0]) .draggable ("option", "back", false);

    read the chronology of symbol box

    var box = sym.getSymbol ('box');

    Box. $('reward').html ("< other > Correct'").css({'text-align':'center', 'font-family':'source-sans-pro, sans-serif'});

    Box.Play ();

    }

    });

    }

    It does work on the Iphone, or on the Desktop Preview in InDesign CC.

    My other animations work very well with the DPS, but there are no custom .js libraries.

    Any IDEAS?

    Thank you!

    Hey there,

    This is a problem known with Animate - we do not currently support packaging everything you decide to include with your publication and as a result they are not be included in the OAM drop external libraries.

    BUT.

    To work around the problem, you can try to decompress the OAM, manually adding the libraries, and then repackaging the CAO. The discussion on this thread might help you: http://forums.adobe.com/message/5834409

    We'll also be resolve this in the next version of Anmate, which will be available soon!

    See you soon,.

    Sarah Hunt

    Product Manager, Adobe Edge animate

  • I've lost the ability to copy files on my CD player. When I drag and drop, the only authorized action is 'move' and it does not work.

    I've lost the ability to copy files on my CD player.  When I drag and drop, the only authorized action is 'move' and it does not work.   I tried press and hold the CTRL key while dragging, and when I do that all the other disks show "copy" as the default action, but when I hover over the action CD player available only changes to 'pass '.   I ran the Microsoft Troubleshooting tool for CD/DVD players and he said that the media were not writable, but there is a blank CD in the drive.  Any ideas on how to solve this problem?

    Thanks, but the cd/dvd drive works well - I can burn a cd with windows media player for example.  the problem is that I can't copy files to it.   I can play CDs (haven't checked the DVD).  I can not do and could do before, is doing drag and drop files on it.  The only authorized action is "move".   This happens even when I click CTRL + do drag.   I can copy it to any other player, but the CD player, and when I hover over the "exemplary" drive CD goes to 'move '.

    have you tried using a different suite of cd/dvd burning?

    Imageburn is free and easy to use: http://download.imgburn.com/SetupImgBurn_2.5.7.0.exe

    There may be something to play with your access keys if you have a (ie., wirekeys)

  • I use creative cloud of Adobe Premiere Pro and it does not allow me to drag. In the line of time, only the audio files of the video MXF files. Plays in the video source, but does not allow me to change on the time line with the. MXF files.

    I use creative cloud of Adobe Premiere Pro and it does not allow me to drag. In the line of time, only the audio files of the video MXF files. Video plays in the source window, but does not to drag me and thenedit on the time line with the. MXF files. audio will slide to the time line, but not the video. Interestingly, not later than end of December 2015 it allowed me to change with .mxf files, but no, it won't. Any help out there?

    Neil, get it fixed, I do not have the video channels set correctly on the left

    side of the line of the time. Learn the new adobe; Thank you

    Monday, February 15, 2016 13:20, R Neil Haugen [email protected]>

  • Sony Vaio E series applications Netflix and hulu does not work

    I have download the Netflix app and hulu, because I had these accounts for nearly a year already and I tried to stream movies on these applications and it does not play. Sony technicians can not fix it either. Does anyone have the same problem with the portable touchscreen E series?

    Hi Gabo,

    Thanks for the post.

    Have you upgraded to Windows 8 or return to Windows 8 operating system?

    Try the following steps:

    1. Drag from the right edge of the screen, tap search.

    2. If you are using a mouse, point to the lower-right corner of the screen, click on search.

    3. Press or click settings, type Windows Update in the search box, and then press or click on install optional updates.

    4. Follow the prompts to install all recommended, and optional updates.

    5. Try Netflix.

    6. You may need a video driver that is compatible with Windows 8.

    7. Try to install the video driver and its update:http://esupport.sony.com/US/p/select-system.pl?DIRECTOR=DRIVER

    8. Play in desktop mode.

    9. If you have updated to the most recent Windows 8 compatible graphics driver and are always affected by the error, contact support Netflix and Hulu.

    Kind regards

    Tony.

  • Dreamweaver cs5 change copy and paste does not work

    Dreamweaver cs5 Edition copy and paste does not work,

    So Windows 7 SP1. I tried to rename the follder config and start again and it does not work.

    Problem is when I select a file from windows Explorer, then go to Dreamweaver, choose the destination folder and editing/paste is disable, reverse operation is the same, selecting file in dreamweaver, editing/copy, go to the folder of windows Explorer and paste doesn´t work too. Anyone have the solution? (Sorry my English)

    Thank you!

    My copy of DW also works as you describe, I think it's just "the way that it is" in DW.

    To copy a file from another location on your computer to your site, copy it from the original location and paste it into the site folder within windows Explorer (do not use DW at all).

    You can also drag a file from your desktop to your files window in DW to make a copy.

  • App store, Safari and iTunes does not connect to the Internet after installing macOS Sierra

    App store, Safari and iTunes does not connect to the Internet after installing macOS Sierra

    After upgrade 'OS X El Capitan' to "macOS Sierra" window only empty "App store" and page "Safari" made its appearance, no error message shows. store "iTunes" and "Dictionary" does not connect too.

    But Google chrome works well.

    So have you tried the next steps in your original post that Safari does not work after installing macOS Sierra:

    (1) x OS: "Unable to connect" or "unable to connect to the App Store. An internet connection is required"- Apple Support

    2) Advanced the steps to correct the problems with the iTunes Store - Apple Support connection

  • Alarm and timer does not iOS 6 s 10

    Help! After having downloaded the iOS 10, my alarms and timer does not work. During the years that I have had 4 different alarms set - 2 in the morning and 2 the afternoon. This morning the alarm at the top of my phone icon was there, so I assumed that everything was settled as it is normally. I was wrong. My 05:30 alarm has not extinguished the next morning. The next day, I could turn it back on, but when I went to all other lights it shuts down another. It would only be standing. So, I opted for the alarm from 05:30 again. With my phone not allowing an alarm to be defined at the time, now I'm going to put it but it randomly turns off its own. I'm FED UP with it! I used my phone as alarm clock years but had to go out and by a real wake-up call to make sure I wake up in the morning. Not only that, but my timer does not work either. What is someone is having these problems?

    I did have the problem where one turn the other goes out, but since I got my iPhone with iOS 10 7 or my alarm not timers turn off. I watched the ticks to zero with no sound, no matter what I do. There is no problem with volume control and I did it with the key "secret" on and outside. I am at a total loss.

Maybe you are looking for

  • Why my Cinema Display keep blacking out?

    I've scoured the questions here and don't have none managed to find an answer to my question.  I have a Cinema Display 24 ".  I bought it when I got my end of 2009 Mac Pro.  I downloaded El Capitan, when it first came out, and as far as I know, I hav

  • Need help with adapters for T60 wireless

    Hello! I recently came across a T60 and I need it to be able to 5 GHz Wireless. The wireless current is not. I'm not a genius when it comes to wireless cards, where they are and whether or not they are compatible, this is why I come to you! Will you

  • Photo Gallery can't open photo

    Hi, I have a problem just downloading a photo on my digital camera. When I plug my camera into my computer, the thumbnail for that one particular photo does not load, and when I try to view the picture I get the "Photo Gallery can't open this photo o

  • CAP exception is produced - / v is not specify what anyone

    Hello I'm trying to package telephone webworks using BlackBerry WebWorks SDK 2.3.1.5 with the following command: bbwp myapps.zip/v and got the following result: [INFO] Parsing of the command line options[INFO] Bbwp.properties analysis[INFO] Validatio

  • Optimize the query

    Hi allI have a question and I would like to know how to optimize it. Please suggest. :- select   * from unity_list o  where  (exists (     select * from opp_date     where opp_id = o.opp_id     and date_type = 'FYIMSAT') and :maySubmitAnytime = 'Y')