PDA

View Full Version : E-mail and Print Buttons



clicker06
01-10-2006, 04:40 PM
Hello,
Where could I find script to add a button for the viewer to send to a friend via e-mail or print the web page?
Thank you,

Twey
01-10-2006, 07:27 PM
Printing is easy.

<input type="button" onclick="if(window.print) window.print(); else window.alert('Printing not supported from your browser.');" value="Print"/>
Sending to a friend is harder. You'll need some sort of server-side script.

clicker06
01-10-2006, 09:33 PM
Thanks for the attempt, but even this is over my head.
I pasted it in HTML. I tried to link it to a button and text but that didn't work either.
Thank you again.

Twey
01-11-2006, 03:16 PM
It should work as-is.
Moo!