Ok so i have this code to update the position of my iFrame(does that have a capital?):
Code:
document.getElementById("reportBox").style.left=(getdimensions(0)/2-250)
i have tried various different versions including:
Code:
document.getElementById("reportBox").style.left =(getdimensions(0)/2-250)+".px"
but it isn't working.
firefox error:
Warning: Error in parsing value for 'left'. Declaration dropped.
Line: 0
iFrame code
Code:
<iframe height="0px" width="0px" style="position:absolute;" id="reportBox" scrolling="no" frameborder="0"></iframe>
Any help will be greatly appreciated.
Thank you
|