我需要在iframe中给出一个元素绝对位置,以便它随之上下滚动。
这是我的iframe:
<iframe scrolling="yes" onload="initTimer();" frameborder="0" noresize="noresize" src="http://chusmix.com;?>" style="position: absolute; background-color: transparent; width: 100%; height:100%; padding: 0px; margin: 0px; z-index: 1; left: 0;">
</iframe>
如果不可能,可能有一种方法可以知道iframe已滚动多少并重新定位元素。无论如何,欢迎任何想法。感谢