|
Prev: Text box value keeps resetting after submit
Next: FAQ Topic - How do I check to see if a childwindow is open, before opening another? (2008-06-24)
From: Oltmans on 23 Jun 2008 17:10 Hi, I've been using LIs (<li>) and using Sortables (docs.jquery.com/UI/ Sortables/sortabl) to sort the LIs. I've attached a mouseover function with each LI. Problem (in IE 6 & 7) is that whenever I start dragging an LI and when I'm up above an another LI then mouseover function of the LI (which is below the LI I'm dragging) is called. How can I employ a mechanism so that every LI don't call their mouseover function if any other LI is being dragged above them? Thanks in advance. --Oltmans
From: SAM on 23 Jun 2008 20:47
Oltmans a �crit : > Hi, > > I've been using LIs (<li>) and using Sortables (docs.jquery.com/UI/ > Sortables/sortabl) to sort the LIs. I've attached a mouseover function > with each LI. Problem (in IE 6 & 7) is that whenever I start dragging > an LI and when I'm up above an another LI then mouseover function of > the LI (which is below the LI I'm dragging) is called. How can I > employ a mechanism so that every LI don't call their mouseover > function if any other LI is being dragged above them? perhaps ... cancelBubble stopPropagation <p if="inf">info</p> <ul> <li onmouseover="if(event.stopPropagation) event.stopPropagation(); else event.cancelBubble=true; document.getElementById('inf').innerHTML = 'Ok 1 or Not ?';"> blah 1</li> -- sm |