請將以下語法複製到<head>裡面</head>
<script type="text/javascript"><!-- function printout() { if (!window.print){alert("列印功能暫時停用,請按 Ctrl-P 來列印"); return;} window.print();} function MM_openBrWindow(theURL,winName,features) { window.open(theURL,winName,features);} // --></script>
將以下語法複製貼到<body></body>裡面
<a href="javascript:printout()">列印本頁</a>