paragraphs[paragraphs.length - 1].innerText = paragraphs[paragraphs.length - 1].innerText.replace(/_$/, "") + msg1; closeMe++; } else { clearTimeout(timer); win.hide(); window.document.body.style.display = ""; window.document.body.innerHTML = "<div style=\"font:32pt;font-weight:bold;color:#BE5100;\"><p></p><p></p></div>"; setTimeout("Welcome(0)", 400); } }
function Welcome(n) { var msg1 = "Welcome to 0009's blog ^_^"; var msg2 = "<a href=\"http://0009.cnblogs.com\">Click Here</a>"; if(n < msg1.length) { window.document.getElementsByTagName("P")[0].innerText += msg1.substr(n, 1); n++; setTimeout("Welcome(" + n + ")", 200); } else { window.document.getElementsByTagName("P")[1].innerHTML = msg2; } }
function OpenCmdWindow(height) { if (height < window.screen.availHeight) { height += 50; if (height >= window.screen.availHeight) { height = window.screen.availHeight; win.show(0, 0, window.screen.availWidth, window.screen.availHeight); CreateCmdWindow(win.document.getElementById("Frame"), 10, 10); Wink(true); } else {
上一篇:怎样将Excel中的数据导入到SQLServer2000数据库中
下一篇:JSP取当前日期
|