This repository has been archived by the owner on Mar 23, 2019. It is now read-only.
This repository has been archived by the owner on Mar 23, 2019. It is now read-only.
iFrame show in wrong position if swf load inside multiple <div> #117
Labels
Our application need to load the swf inside multiple div tag and each div tag have some padding style. We found that the javascript function to move the iFrame will get a wrong position. And we do the following change to resolve the problem.
IFrameExternalCalls.INSERT_FUNCTION_MOVEIFRAME
"var swfObjectBound = swfObject.getBoundingClientRect();" +
"frameRef.style.left = x + swfObjectBound .left + document.documentElement.scrollLeft +'px'; " +
"frameRef.style.top = y + swfObjectBound .top + document.documentElement.scrollTop +'px'; " +
IFrameExternalCalls.INSERT_FUNCTION_CREATEIFRAME
"newDiv.style.zIndex = 1;" +
Is that possible to include these change in the official release so that we don't need to modify your source code and use the library directly?
The text was updated successfully, but these errors were encountered: