请教打印的问题 打印的时候在文件->页面设置里面去掉页眉和页脚对于不打印表单,可以用CSS控制try:<style>@media print{form{display:none}}</style> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 function printPage($auto=1,$timeOut=10000) { if ($auto == 1) { echo " < SCRIPT LANGUAGE="JavaScript" > < !-- Begin if (window.print) { window.print(); } else { alert('No printer driver in your PC'); } // End -- > < /script > n"; } else { echo " < SCRIPT LANGUAGE="JavaScript" > < !-- Begin if (window.print) { setTimeout('printCheck()','$timeOut'); } else { alert('No printer driver in your PC'); } function printCheck() { agree = confirm('OK to print now?'); if (agree) window.print(); } // End -- > < /script > n"; } } 64位的win2008上怎么配置ZendOptimizer-3.3.3 php 数据库连接关闭问题 JS如何赋值给PHP变量 php zend 照着网上例子为何总是出错!!! 高手请进,有关变量提交!!! PHP做文件上传的问题----在线等待!! 大型网站的内容后台管理系统!!!!!! 菜鸟问:调用COM的最基本问题 php 页面跳转 本地windows 环境正常,上传linux 服务器上跳转不了 html提交表单到PHP出现内部服务器错误 请教:关于直接启动客户端程序的问题。 如何使用其他程序向网站的php程序提交数据
if ($auto == 1) {
echo "
< SCRIPT LANGUAGE="JavaScript" >
< !-- Begin
if (window.print) {
window.print();
}
else {
alert('No printer driver in your PC');
}
// End -- >
< /script >
n";
}
else {
echo "
< SCRIPT LANGUAGE="JavaScript" > < !-- Begin
if (window.print) {
setTimeout('printCheck()','$timeOut');
}
else {
alert('No printer driver in your PC');
}
function printCheck() {
agree = confirm('OK to print now?');
if (agree) window.print();
}
// End -- >
< /script >
n";
}
}