[jQuery] Re: When mouse over then Fade transition Pause, Please help

2009-10-16 Thread Tan
Anybody ?Please On Oct 16, 5:32 pm, Tan it_qn2...@yahoo.com wrote: Hi, I have see a plugin : Fade transition plugin for jQuery Please see demo:http://www.robpoyntz.com/blog/?m=200905 I want when i mouse over then Fade transition stop and when i mouse out then it start. I create a code:

[jQuery] Re: When mouse over then Fade transition Pause, Please help

2009-10-16 Thread Evgeny Bobovik
Try to use this code for mouse events processing $(.container).bind(mouseenter,function(){ Trans.pause(); }).bind(mouseleave,function(){ Trans.pause(); }); ... and replace your plugin code on this code: (function ($) { $.fn.fadeTransition = function(options) { var

[jQuery] Re: When mouse over then Fade transition Pause, Please help

2009-10-16 Thread Tan
Hi, Evgeny Bobovik. Thanks you . I have modify files js to: (function ($) { $.fn.fadeTransition = function(options) { var options = $.extend({pauseTime: 5000, transitionTime: 2000}, options); Trans = function(obj) { var timer = null; var current = 0; var pause = 1;