查看完整版本: 列印本頁

2-6-2012 09:07

列印本頁

<P><FONT color=blue>&lt;script type="text/javascript"&gt;&lt;!-- <BR>function printout() {<BR>if (!window.print){alert("列印功能暫時停用,請按 Ctrl-P 來列印"); return;}<BR>window.print();}<BR>function MM_openBrWindow(theURL,winName,features) {<BR>window.open(theURL,winName,features);}<BR>// --&gt;&lt;/script&gt;</FONT></P>
<P><FONT color=#0000ff></FONT>&nbsp;</P>
<P><FONT color=blue>&lt;a href="javascript:printout()"&gt;列印本頁&lt;/a&gt;</FONT></P>
<P><FONT color=#0000ff></FONT>&nbsp;</P>
<P><FONT color=#0000ff></FONT>&nbsp;</P>
<P><FONT color=#0000ff></FONT>&nbsp;</P>
<P><FONT color=#0000ff></FONT>&nbsp;</P>
<P><FONT color=#0000ff></FONT>&nbsp;</P>
<P><FONT color=#0000ff></FONT>&nbsp;</P>
<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>
<A href="javascript:printout()">列印本頁</A>
<P><FONT color=#0000ff></FONT>&nbsp;</P>
<P><FONT color=#0000ff></FONT>&nbsp;</P>
<P><FONT color=#0000ff></FONT>&nbsp;</P>
<P><FONT color=#0000ff></FONT>&nbsp;</P>
<P><FONT color=#0000ff></FONT>&nbsp;</P>
<P><FONT color=#0000ff></FONT>&nbsp;</P>
<P><FONT color=#0000ff size=3>如不能顯示語法效果可貼去本站</FONT><A href="http://www.bunbun000.com/html/index.htm" target=_blank><FONT color=red size=3>語法測試板</FONT></A><FONT color=#0000ff size=3>試看</FONT></P>

25-5-2013 10:18

複製上列語法

<form name="copy">
<textarea cols="40" name="txt" rows="4" style="BACKGROUND-COLOR:#ffffff; COLOR:#000000; FONT-SIZE:9pt">
<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>



<a href="javascript:printout()">列印本頁</a>
</textarea><br>
<input onclick="javascript:this.form.txt.focus();this.form.txt.select();" type="button" value="全選">
</form>

<br>

<script type="text/javascript"><!--
google_ad_client = "ca-pub-4078143172638881";
/* 336X280 */
google_ad_slot = "3268225205";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
頁: [1]
查看完整版本: 列印本頁