www-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

www/server sidebar.html


From: Matt Lee
Subject: www/server sidebar.html
Date: Thu, 23 Aug 2007 21:52:12 +0000

CVSROOT:        /web/www
Module name:    www
Changes by:     Matt Lee <mattl>        07/08/23 21:52:12

Modified files:
        server         : sidebar.html 

Log message:
        print into a button

CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/server/sidebar.html?cvsroot=www&r1=1.21&r2=1.22

Patches:
Index: sidebar.html
===================================================================
RCS file: /web/www/www/server/sidebar.html,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- sidebar.html        23 Aug 2007 21:49:03 -0000      1.21
+++ sidebar.html        23 Aug 2007 21:52:08 -0000      1.22
@@ -6,7 +6,10 @@
 function writeJS(){
 var str='';
 str+='<div id="print-this-article">';
-str+='  <a href="javascript:this.print()" title="Print this page, requires 
JavaScript">Print this article<\/a>';
+str+='  <h3>Print this article</h3>';
+str+='  <form action="javascript:this.print()">';
+str+='  <p><input type="submit" value="Print page" /><\/p>';
+str+='  <\/form>';
 str+='<\/div>';
 document.write(str);
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]