Side navigation
#5286 closed bug (worksforme)
Opened September 23, 2009 07:16PM UTC
Closed August 14, 2010 06:46PM UTC
animate bug
Reported by: | hugenoize | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.4 |
Component: | effects | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Sorry for my poor English.
The parent page use an iframe to load a child page. The parent page use javascript to get the child page's height, and set the height of iframe equal to the child page's height.
And I use this code to change height:
$("#myiframe").animate({height:newheight}, 300);
The child has many big images, in order to show child page quickly, the child page call "set iframe height" function many times.
The problem is: if the child page has a Google mp3 player ( a flash ), the flash will be downloaded/reloaded many times. Every time "animate" fires, this flash will be downloaded/reloaded .
To solve this problem, I change the "animate" code to this:
$("#myiframe").height(newheight);
Now the flash will be downloaded only once.
So I think "animate" function has bug.
Attachments (1)
Change History (4)
Changed September 24, 2009 01:31AM UTC by comment:1
component: | unfilled → fx |
---|---|
need: | Review → Test Case |
priority: | major → minor |
Changed September 25, 2009 10:32AM UTC by comment:2
OK , I made a simple test .
I found maybe it has problem only in Firefox .
I test Firefox 3.5 , Opera 10 , IE 6 and IE 8 , Chrome 4 .
Changed December 09, 2009 09:47AM UTC by comment:3
I test it,I think it's the Firefox's bug. when the flash is playing. if it's parentNode's style.overflow change to "hidden", the flash will replay (only in firefox); when execute animate function, will do this if ( opt.overflow != null ) this.style.overflow = "hidden"; so cause the problem as you describle.
Changed August 14, 2010 06:46PM UTC by comment:4
need: | Test Case → Review |
---|---|
resolution: | → worksforme |
status: | new → closed |
I'm not seeing a reload with Firefox 3.6.
Can you provide a test case please?