-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathJsPrint.aspx
More file actions
31 lines (30 loc) · 1.25 KB
/
JsPrint.aspx
File metadata and controls
31 lines (30 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<%@ Register TagPrefix="uc1" TagName="CJPrint" Src="UserControl/CJPrint.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="JsPrint.aspx.vb" Inherits="zjdx.JsPrint"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>JsPrint</TITLE>
<meta HTTP-EQUIV="Content-Type" content="text/html; charset=gb2312">
<META name="GENERATOR" content="Microsoft Visual Studio .NET 7.0">
<META name="CODE_LANGUAGE" content="Visual Basic 7.0">
<META name="vs_defaultClientScript" content="JavaScript">
<META name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<SCRIPT language="vbscript">
Sub Window_onbeforeprint()
Document.all("HiddenDiv").Style.Display = "none"
End Sub
Sub Window_onafterprint()
Document.all("HiddenDiv").Style.Display = ""
End Sub
</SCRIPT>
</HEAD>
<BODY MS_POSITIONING="GridLayout">
<DIV id="HiddenDiv">
<INPUT type="button" onclick="vbscript:window.print()" value=" ´òÓ¡ "> <INPUT type="button" onclick="vbscript:window.close()" value=" ¹Ø±Õ "></DIV>
<FORM id="Form1" method="post" runat="server">
<ASP:PANEL ID="PrintDate" Runat="server">
<FONT FACE="ËÎÌå"></FONT>
</ASP:PANEL>
</FORM>
</BODY>
</HTML>