UP
http://www.kan68.com/index3.htm?user=zhttz
http://www.kan68.com/index3.htm?user=zhttz
解决方案 »
- dnt首页空白问题
- 关于复选框,获取多个选中行索引的问题!!!急急急急急急急!!!在线等
- 找不到工作了,我要创业!
- Global引发的头痛现象,请大家给个办法
- 帮忙改个正则(我真的很菜的)--急等中
- 请问用httphandle实现的类中如何获取当前的session对象
- 请教参数传递的问题,高手们请指教!(100分高分请教)
- Asp.net项目引用一个编译成x64程序的dll报错。
- MVC 字段显示
- 初学ASP.NTE,请问下其编程思想理念 方法是什么。谢谢!总是和ASP混淆了
- 一个图像显示问题,用什么方法排版图像??图像撑大表格?!!
- 如何在客户端js为DataGrid中的textbox控件的text属性赋值呢
var hkey_root,hkey_path,hkey_key
hkey_root="HKEY_CURRENT_USER"
hkey_path="\\Software\\Microsoft\\Internet Explorer\\PageSetup\\"
//设置网页打印的页眉页脚为空
function pagesetup_null()
{
try{
var RegWsh = new ActiveXObject("WScript.Shell")
hkey_key="header"
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"")
hkey_key="footer"
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"")
}catch(e){}
}
//设置网页打印的页眉页脚为默认值
function pagesetup_default()
{
try{
var RegWsh = new ActiveXObject("WScript.Shell")
hkey_key="header"
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"&w&b页码,&p/&P")
hkey_key="footer"
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"&u&b&d")
}catch(e){}
}
</script>