[jQuery] Re: Draggable and Fadeto

2008-06-12 Thread msm.stef
Thanks all for this explanation. I find a solution. Don't use event mouveover and mouseout but use mouveenter and mouseleave. Now, it works, not perfect but better. function over() { $(this).fadeTo("fast", 1.0); } function out() { $(this).fadeTo("slow", 0.6); } function

[jQuery] Re: Draggable and Fadeto

2008-06-11 Thread msm.stef
(); > > $("#navigation").draggable({ start: unBind, stop: reBind }); > > In this case you want to use the start callback, not the drag callback as > drag is called continuously (for each mousemove) during the drag. > > - Richard > > On Tue, Jun 10, 2008 at 10:52

[jQuery] Re: Draggable and Fadeto

2008-06-10 Thread msm.stef
Thank for this, but it doesnt works. I try to use this : $("#navigation").hover(function () { $(this).fadeTo("slow", 1.0); },function(){ $(this).fadeTo("slow", 0.6); }); $("#navigation").draggable({ drag: function() { $(this).unbi

[jQuery] Draggable and Fadeto

2008-06-10 Thread msm.stef
Hello, i want to use two functions but i have a little problem with them. I have a div with hover event. When mouse in or out , i use the fadeto() function. When i drag the div, i use the draggable function. The problem is when i drag the div, the function fadeto run (in and out, )