Choose fontsize:
Welcome, Guest. Please login or register.
Did you miss your activation email?

 

Pages: [1]   Go Down
  Print  
Author Topic: Print Option  (Read 2840 times)
0 Members and 1 Guest are viewing this topic.
Regular
*

Karma: 3
Posts: 86

Graphic Addicts Member


View Profile
« on: January 26, 2006, 10:29:58 AM »
[h1]Print Option[/h1]
This just adds a print button to your page.

Code:
<html>
<title></title>
<head>

<div style="position:absolute; overflow:hidden; left:316px; top:100px; width:190px; height:40px; z-index:2"><center><SCRIPT LANGUAGE="JavaScript">

<!-- Begin
if (window.print) {
document.write('<form> '
+ '<input type=button name=print value="Print Page" '
+ 'onClick="javascript:window.print()"></form>');
}
// End -->
</script>
<!-- Script Size:  0.58 KB --></center>
</div>
</head>
<body>
</body>
</html>

Example Page:
Click here to see an example of this script.

If you like this tutorial, please Click Here to register.

Click the link below to download the HTML file for this tutorial.
Print Option HTML
« Last Edit: February 10, 2006, 07:36:51 PM by SKETCHi » Logged
Pages: [1]   Go Up
  Print  
 
Jump to:      

Flawsome [ In: 446 // Out: 1726 ] BioRUST [ In: 2951 // Out: 2428 ] Pixel-Designz [ In: 1183 // Out: 2917 ] Graphic Addicts Topsites [ In: 2435 // Out: 3389 ] SMF Topsites [ In: 0 // Out: 2021 ] SaberFusion [ In: 553 // Out: 1622 ] 2DValley [ In: 1846 // Out: 1412 ] Globex Designs [ In: 116 // Out: 1458 ]
Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Phobos design by Bloc | XHTML | CSS


Google visited last this page Today at 04:36:25 PM