PDA

View Full Version : print this page?



Cornbread
09-29-01, 04:55 PM
what is the html code for placing a button that says "print this page"?

thxs

Tryn
09-29-01, 06:01 PM
I hope this is what you want.

<input type="button" value="Print this page">






tryn

Cornbread
09-29-01, 06:36 PM
that worked as for placing a button on the page, but i need it to "print the page" when clicked.

thanks for the help :)

Tryn
09-29-01, 07:42 PM
Here is a way to do it using JavaScript


<input type="button" value="Print this page" onClick="window.print()">
this will print out everything on the page as far as I can tell.
I found it Here
http://www.scriptsearch.com/
lots of cool stuff at that site.

hope this will help


Tryn

Cornbread
09-29-01, 11:44 PM
cool! that will work. thanks again for all the help. :)

Tryn
09-30-01, 12:30 AM
You are welcome I'm glad I could help



tryn