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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T06:48:09+00:00 2026-06-01T06:48:09+00:00

Lets say I have a div #elements with a ul inside.The div has position:

  • 0

Lets say I have a div #elements with a ul inside.The div has position: absolute and is on top of the body element.When the user drags an li element from #elements ul a clone should be made that is on top of the body and the #elements div and listen to when it is dragged over the body.How can I achieve this effect?
P.S:the clone should be on top of #elements when dragged.

html:

<body>
<div id="elements">
   <ul>
     <li>one</li>
     <li>two</li>
     <li>three</li>
   </ul>
</div>
</body>

css:

#elements {
 position:absolute;
 top:100px;
 left:100px;
}

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-06-01T06:48:10+00:00Added an answer on June 1, 2026 at 6:48 am

    Check this out, it may help:

    Drag and Drop for Touch and none-touch devices

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

Sidebar

Related Questions

Lets say I have a div element, with a background in position: 0%; how
Ok lets say I have div with form elements inside of it. I want
Lets say i have the following web page: <html> <body> <div class="transform"> <span>1</span> </div>
Lets say I have a container div, inside of which are div containers of
Let's say I have an img element inside a div , how do I
Lets say we have something like: <div class=row> <div class=box> <a class=more href=#more/> </div>
lets say I have a <div id=god> Supertext </div> I want to assign <div
how to have a div that always stay on the screen? Lets say i
Let's say I have a contentEditable div , to the user can edit and
lets say i have this lump of HTML: <div class=container> <span class=title>Heading 1</span> This

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.