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 6125025
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:12:01+00:00 2026-05-23T16:12:01+00:00

So I am trying to transfer over a div from one connected sortable container

  • 0

So I am trying to transfer over a div from one connected sortable container to another using jQuery UI. This sounds simple although I’m trying to do this while the content area is sliding over to the next area (think iPad/iPhone springboard).

The problem is when dragging the div containers over, they lose there positioning, so the dragging over becomes ‘jumpy’ as it does not stay in one place.

Here is what I have so far: (try dragging a block over to the right and you will see the problem)

UPDATE: Na7coldwater has said to give a position:absolute; which has helped the issue, but the block still disappears during animation.

http://jsfiddle.net/Az5kw/16/

What I’m aiming for in the end is to have the blocks to be spaced out in a grid type layout with a maximum value, say 4 per area. Then, a new slide area should be created if necessary (e.g. there is no more space for the blocks, a 3rd slide area will appear). Obviously I’m along way off from this as I can’t even figure out how to move the blocks from area to area in a stable, smooth way!

Been at this for over a week now and am getting nowhere :/

If you know of a better, more stable way of approaching this while still using jQuery that would be amazing!

Any help would be really, really appreciated!

Many thanks

  • 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-23T16:12:01+00:00Added an answer on May 23, 2026 at 4:12 pm

    Use the start/stop events of the draggable to set/unset position:fixed on the moving .block.

    This way you disassociate it from the containers (in terms of positioning) while dragging.

    Add

        start: function(event,ui){
            $(this).addClass('in-orbit');
        },
        stop: function(event,ui){
            $(this).removeClass('in-orbit');
        }
    

    to the options of the draggable, and a css rule

    .in-orbit{
        position:fixed!important;
    }
    

    demo at http://jsfiddle.net/gaby/tktGA/1/

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

Sidebar

Related Questions

I'm trying to transfer the contents of one list to another, but it's not
I am trying to transfer a table from MySQL to MSSQL using the data
I am trying to implement a very simple file transfer client in python using
I'm trying to transfer an ArrayList from a client to a server using the
my script is using utf8_general_ci and im trying to transfer to another script that
I'm trying to transfer some data from Access to SQL Server 2000 (there are
I'm trying to write a secure transfer file program using Python and AES and
This is on .Net 4, full framework. I'm trying to make a simple winforms
I'm trying to transfer the data from my production DB to my staging DB
I'm trying to transfer everything I'm working on in one eclipse JEE6 project with

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.