Side navigation
#1606 closed bug (worksforme)
Opened September 12, 2007 08:49PM UTC
Closed September 15, 2007 02:59AM UTC
Last modified March 15, 2012 12:26AM UTC
not enough fps on fade
Reported by: | AlexL | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.2.1 |
Component: | effects | Version: | 1.2 |
Keywords: | fade, animate, opacity | Cc: | |
Blocked by: | Blocking: |
Description
Hi, I'm new here so sorry if I filled some forms out wrong
var steps = 0 $('div#BB_overlay').css({ position: 'fixed', left: 0, top: 0, width: '100%', height: '100%', zIndex: 10000 }).animate( {opacity: 0.5}, {duration: 1, step: function() { steps++; }} );
steps on my computer:
firefox: 20 safari: 10 opera: 6
similar script in prototype/aculous has more than 20 fps on all browsers
Attachments (0)
Change History (2)
Changed September 15, 2007 02:59AM UTC by comment:1
resolution: | → worksforme |
---|---|
status: | new → closed |
Changed September 15, 2007 11:44AM UTC by comment:2
Sorry, my mistake. Of course I meant 1000ms
I have just repeated my test and it seems this time it's the same with jQuery and aculo.us
You do realize that it's duration: 1000, right? duration: 1 is just 1 millisecond - which is probably why it's having problems :-)
For me, I'm getting anywhere from 50-80 fps in all browsers.