I could see possibly adding an option for whether or not to animate,
but I don't think there should be a hard-coded exclusion for IE < 8
just because it will be slow with multiple.  It sounds like it would
be perfectly reasonable to have only one progressbar and want
animation.


On Oct 6, 11:14 am, Cloudream <[EMAIL PROTECTED]> wrote:
> ~ line 120 in ui.progressbar.js
>
> replace
>
> this.bar.width(this.pixelState);
>
> with
>
> var ScriptEngineMinorVersion = ScriptEngineMinorVersion || function()
> {return 9};
> var lowerThanIE8 = (ScriptEngineMinorVersion() < 8);
> if ( lowerThanIE8 ) {
>         this.bar.width(this.pixelState);} else {
>
>         this.bar.stop().animate({width:this.pixelState},300);
>
> }
>
> Since I use 6 progressbar same time, it deny animation in IE6/7 for
> performance issue.
>
> If you want to have animation, you could modify it like code above. or
> only
> this.bar.stop().animate({width:this.pixelState},300);
>
> 300=duration in ms.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to