Friday 15 March 2013

JQuery UI: Drag-and-drop disables mouseover events? -


I am trying both events on mouseover and leaving drag and drop using JQuery and JQuery UI.

I currently have a working prototype ..

As you can see, if you move your mouse over the images, the artwork is tied on the left by the hover event, a different related division has been hidden / shown It works fine but once you drag and drag an artwork on the areas of the dotted line, the hover no longer works.

Here the hover code is:

  $ (". Current (function) () (forums) {var hoverid = $ (this) .attr ('id $ ('' Explanation ''); $ ("#description" + hovernum) Show; ();}, function () {$ ('Explanation'). Hide ();});  

It seems that disabling some hover effects in the jQuery UI? I'm not sure how to fix it , And I have tried to use mouseover / mousestate; it is like that.

Any thoughts? Thanks!

The object has to reassign it after leaving the object.

Drag and drop is possibly removing old objects and new locations Instead of maintaining the same element.

I just tested this by using the console in FF3 and it works. Keep that argument in the method which the end Can be called by drag or drop event.


No comments:

Post a Comment