Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7421471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T08:24:53+00:00 2026-05-29T08:24:53+00:00

I have become interested in jQuery and jQuery UI libraries for the benefits they

  • 0

I have become interested in jQuery and jQuery UI libraries for the benefits they provide over a pure JavaScript programming practise.

I am trying to implement a drag and drop GUI for my hobby site.

$('#artOfBeing').draggable ({ 
    containment: '#dataFrame', 
    cursor: 'pointer', 
    snap: '#dataFrame', 
    helper: 'clone' 
});
    
$('#dataFrame').droppable({
    drop: handleDropEvent   
});

I already see benefits of jQuery regarding how easy it was to provide a great method of cloning for the menubar icons on the right (to be dragged to the destination drop div).

When I select the top most icon of the menubar on the right vertical with a mouse; any kind of movement triggers the drag and drop operation. The icon jumps to the containment #div (without a transition animation crossing between the divs (source and destination).

I would to like achieve a smooth transition between the time when I select the icon and moving it to the drop div instead of a straight jump into the content mr. monkey div.

I would also like some information regarding the cancel of a drag and drop operation under way.

Please provide tips regarding how best to learn these issues of jQuery libraries.

EDIT: The solution provided Nabab below has some strange effects. Firstly I get different results depending if I am checking it on a local machine or downloading from the web-host server.

In local tests IE9 functions well and the icon drag is limited to the containment DIV which houses both drag and drop divs. Local execution by FF or Chrome and the results are weird, the drag item behaves strangly.

Online web-server and all of them behave the same way. The containment div is ignored and I can drag the icon whereever I like on the screen which is functional but I would like to constrain the drag within the content and nav divs.

Any ideas as to why such behaviour is taking place?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T08:24:54+00:00Added an answer on May 29, 2026 at 8:24 am

    If you have a containment, it’d be more logical to have your source inside this containement. Why don’t you wrap the central space + the buttons space in a DIV which would become the containment. Performing an animation would be very tough as the position of the item depends on the mouse (which drags it), and if your source is outside the container, I cannot imagine how it would perform this transition…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Lately, have become interested in XSS and its prevention methods. Most of the XSS
I have recently become interested in the field(s) of data mining and machine learning.
I have become interested in C-like languages for performance computing. Can you recommend some
I have become rather interested in how computation is modeled in Haskell. Several resources
Microsoft recently announced that they were endorsing jQuery as an officially supported JavaScript library.
While I have written plenty of recursive parsers before, I have recently become interested
I've recently become interested in algorithms and have begun exploring them by writing a
I am a novice programmer who mainly uses Java. Recently I have become interested
I have been a .net developer for many years and have recently become interested
I have become accustomed to using TryParse for attempting to parse unknown types: Dim

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.