Free Web Hosting PHP/mySQL
GlobalWeb.com.ru Forum Index GlobalWeb.com.ru
Free Web Hosting :: Commercial Web Hosting :: PHP/mySQL :: CGI/Perl
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Print Button

 
Post new topic   Reply to topic    GlobalWeb.com.ru Forum Index -> Javascript
Author Message
i03m



Joined: 02 Mar 2004
Posts: 6

PostPosted: Tue Mar 02, 2004 10:25 am    Post subject: Print Button Reply with quote

a JavaScript code.....

Code:
<script>
function printthis(){
if((navigator.appVersion.indexOf("4.") != -1)&&
(navigator.appName.indexOf("Netscape") != -1)){
print();}
}
</script>
<form><input type="button" value"print" onclick="printthis();"></form>
Back to top
View user's profile Send private message
jalinds



Joined: 02 Mar 2004
Posts: 36

PostPosted: Wed Mar 03, 2004 7:52 am    Post subject: Reply with quote

Does that code work with every browser?? Btw quite useful code Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    GlobalWeb.com.ru Forum Index -> Javascript All times are GMT
Page 1 of 1

 


Free Web Hosting, Commercial Web Hosting, PHP/mySQL Copyright © 2009
Free Scripts Directory | Free Software Downloads | Newsgroups Directory | Optel.net | Mirroraty | Cruised.net | Hardware Keylogger