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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T22:54:14+00:00 2026-05-18T22:54:14+00:00

you can see my code right here: http://jsfiddle.net/Pghqv/6/ i have 3 black bars that

  • 0

you can see my code right here: http://jsfiddle.net/Pghqv/6/

i have 3 black bars that can be dragged and dropped. they even snap to each other when they are close enough – that’s exactly what i want to have.

the last feature i want to add is that it’s not possible to stack to bars over each other. Kind of a hittest, whenever an element is dragged upon another one and the mouse is released it should snap to the outer edges of the bar underneath.

any idea how i can make that work?

thank you for your help!

  • 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-18T22:54:14+00:00Added an answer on May 18, 2026 at 10:54 pm

    I think you may have better results if you use “sortable”, along with a “grid”. See here: http://jqueryui.com/demos/sortable/#option-grid

    Description: grid Default:false
    Snaps the sorting element or helper to a grid, every x and y pixels. Array values: [x, y]

    Try this:
    http://jsfiddle.net/LN2rQ/

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

Sidebar

Related Questions

Here you can see the code: http://jsfiddle.net/LQSK3/1/ I can't get display: inline; working there
Here is my code http://jsfiddle.net/AB6J3/7/ you can see, edit, etc. When I roll over
HI all. You can see the code right here: http://jsbin.com/egixa5/5/edit . I'm trying to
I have IE6. [ EDIT : you can see the template live here: http://themeforest.net/item/aqua-terra-lava-html-blog-portfolio-/full_screen_preview/53209
I have updated the code I am working on here http://jsfiddle.net/dFfJm/ At the first
Here you can see what I'm trying to do: http://jsfiddle.net/smogg/QFa4J/2/embedded/result/ I was trying to
As you can see in the following Fiddle: http://jsfiddle.net/EvWc4/3/ , I'm currently searching a
For some reason my bind events won't work. You can see my code here:
I have some really funky code. As you can see from the code below
I have a table defined (see code snippet below). How can I add a

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.