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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T06:24:08+00:00 2026-06-06T06:24:08+00:00

There are some events that I can use for handling drag & drop: https://developer.mozilla.org/en/DragDrop/Drag_and_Drop

  • 0

There are some events that I can use for handling drag & drop:

https://developer.mozilla.org/en/DragDrop/Drag_and_Drop

there is a drag event, which is fired during the time the element is being dragged. I can control the source element styling or the target droppable container, but how can I style the “ghost” element that’s being created by the browser?

I want to remove the “disabled” icon from it when the element is over a non-draggable area and replace it with a “cursor-move” icon

Here’s what I have so far:

http://jsfiddle.net/YkaCM/

enter image description here

  • 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-06T06:24:11+00:00Added an answer on June 6, 2026 at 6:24 am

    Not too sure about other browsers however the dataTransfer object contains a property called mozCursor. This allows you to change the cursor in the drag state, however this is a Mozilla property.

    https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/mozCursor

    An example of using this can be found at the following location, the setting is changed on dragstart (set to use default ‘arrow’ cursor), dragover (set to use auto drag cursor (arrow with copy)) and dragleave (reset to use default ‘arrow’ cursor):

    http://jsfiddle.net/YkaCM/4/


    Try the answers to:
    Javascript: How can I set the cursor during a drag & drop operation on a website?


    Updated your dragover with the following:

    $('#droppable').bind('dragover', function (e) {
      $(this).addClass('over'); // new
    
      ...
    

    http://jsfiddle.net/YkaCM/1/

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

Sidebar

Related Questions

Is there an event that I can tap into in Global.asax to execute some
Is there a set of open standards technologies that I can use to achieve
My application server needs to notify users about some events via email. Usually there
I have some trouble with jquery ui-events: In my application, there are some sliders.
I want to interrupt some specific grails domain class events(read,write,delete,update).Is there any hibernate eventlistner
I am visiting some old code, and there are quite a few events declared
There are some event listeners like mouseover, mouseout and click to use on the
Is there some way when sending this message to specify that I rather have
Is there some way to compile (with the CSC task) a WPF Application with
Is there some kind of a shorthand fluent interface for creating a parameters dictionary

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.