回覆列表
  • 1 # 使用者2458114238191884

    插入以下程式碼:

    code:

    <scriptlanguage="JScript">

    functionPrintNoHdr()

    {

    t=newActiveXObject("WScript.Shell");

    t.RegWrite("HKCU\\Software\\Microsoft\\InternetExplorer\\PageSetup\\header","");

    t.RegWrite("HKCU\\Software\\Microsoft\\InternetExplorer\\PageSetup\\footer","");

    window.print()

    }

    </script>

    <form>

    <inputtype="button"value="列印該頁"onClick="self.PrintNoHdr()">

    </form>

  • 中秋節和大豐收的關聯?
  • 綠蘿葉子上有黃點怎麼辦?