I have pages in a site that I need to make printable, savable and mail to a friend-able :) I want to place an image button for each function on the page.
For each page I have the xhtml page and a pdf file of the same content.
I need the user to able to print, calling the browser's print dialog to print the pdf.
Save, calling the save dialog to save the pdf version.
Mail, call a pop up to enter recipients name and e-mail, and sender's name and e-mail. No comment or message needed. Then send the message from the server with the pdf version as an attachment, and a predefined message body (editable by me).
As the site has six of these pages I will need to able to install it for each.
If it's not too much hassle I would also REALLY like an option to mail ALL the pdfs at once. Maybe a checkbox for each on the mail-to pop up with the page they've come from selected and the option to check more.
I don't know if this would be easier to do as one big script or three seperate script, I'll leave that up to you.