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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T04:36:30+00:00 2026-06-04T04:36:30+00:00

This time I come with a big challenge (at least, for me) I want

  • 0

This time I come with a big challenge (at least, for me) I want to create a script that allows you to reorder a vertical list of DIV elements (containing other child elements, that should be re-ordered with them).
I cannot use any framework, it must be pure JavaScript. I also cannot use ondrag, ondragover, etc. (not compatible with Opera, as I heard). It must be compatible with all major browsers.

So, what I can use is: onmousedown, onmouseup, onmousemove, (and other mouse events like these). I also can detect sizes and positions of other elements (like the size and position of each DIV). I need a scheme of how would this be done the best way. What do you advice me? Thanks!

Image

  • 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-06-04T04:36:31+00:00Added an answer on June 4, 2026 at 4:36 am

    if you wanna simple onclick solution, then i’d made a simple code…
    FYI… http://jsfiddle.net/xnXzF/5/

    or you want to drag and drom with mouse, then below is the useful link…
    http://luke.breuer.com/tutorial/javascript-drag-and-drop-tutorial.aspx

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

Sidebar

Related Questions

This is my first time that I am working on a big project for
I am using $SUB for the first time and have come across this problem.
This question has been puzzling me for a long time now. I come from
Ok this time I decided to make a list using the STL. I need
This is a .NET winform application question. I come to this design from time
So I have this problem when I run a script with PHP PDO that
The challenge is to come up with this: +--------------------------------------++----------------+ | This is a header
br is the name of a list of strings that goes like this: ['14
This time I have an error which I have been trying again to figure
this time it's about Ruby On Rails. I have a form in the view

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.