代码如下:
- setTimeout(function(){
- var noticearea = document.getElementById("r5c14p_div");
- noticearea.innerHTML = "";
- var newmarquee = document.createElement("marquee");
- newmarquee.setAttribute("scrollamount",7);
- var newdiv = document.createElement("div");
- newdiv.innerHTML = Forguncy.Page.getCell("text").getValue();
- newdiv.style.fontSize = "40px";
- newdiv.style.color = "red";
- newmarquee.appendChild(newdiv);
- noticearea.appendChild(newmarquee);
- }, 1000);
复制代码
|