with(marquees)
{
style.height=marqueesHeight;
style.overflowY = "hidden";
onmouseover=new Function("stopscroll=true");
onmouseout=new Function("stopscroll=false");
}
这里不兼容
{
style.height=marqueesHeight;
style.overflowY = "hidden";
onmouseover=new Function("stopscroll=true");
onmouseout=new Function("stopscroll=false");
}
这里不兼容
这个不兼容啊templayer.offsetHeight <marqueesHeight是这个不兼容
IE下可以直接用id访问,但是FF不能直接用templayer.offsetHeight这样的形式
一般是document.getElementById("templayer").offsetHeight这样的形式其他同理