For example:
Code: Select all
<br><br><br><br><br><br><br><br>
<div style="position:relative">
<cc1:StiWebViewer />
</div>
...
if (p.style.position != "absolute" && p.style.position != "fixed" && (p.currentStyle == null || (p.currentStyle.position != "absolute" && p.currentStyle.position != "fixed")))
{
left += p.offsetLeft;
top += p.offsetTop;
}