声明:
此博文不是为了增加浏览量啊,雅雅梦,我贴在这儿纯粹是为了学习。By the
way,你也太懒了,多久没更新了!赶紧去写博客。
function printTure() //打印函数
{
document.all('qingkongyema').click();//打印之前去掉页眉,页脚
document.all("dayinDiv").style.display="none";
window.print();
document.all("dayinDiv").style.display="";
}
function doPage()
{
layLoading.style.display = "none";
}
var hkey_key;
var hkey_root="HKEY_CURRENT_USER";
var hkey_path="\\Software\\Microsoft\\Internet
Explorer\\PageSetup\\";
//设置网页打印的页眉页脚为空
function pagesetup_null()
{
var
RegWsh = new ActiveXObject("WScript.Shell");
hkey_key="header";
RegWsh.RegWrite(hkey_root+hkey_pa