I'm using Flexpaper Zine in an iPad web app as my PDF reader. I love that it is easy to use and customize.
I was asked to add an e-mail button to the toolbar so customers viewing the app can e-mail themselves the PDF.
I figured out how to add the button to the toolbar, however, setting the button do what I want is my dilemma.
The administrator from Flexpaper says to simply add a JavaScript to the tag where the custom button is. I have:
<element type="button" id="bttnEmail" height="14" width="13" onclick="myscript()" />
but I don't know what to write for the script. On click (or on tap, since it's a mobile device), I want the native mail application to launch without a prepopulated mailto, but I do want to prepopulate the subject line and add a link to the PDF in the body.
Is it possible that this isn't possible?