Hello everyone,
I’m attempting to add a ‘Print’ along with ‘Email’ function that will certain pages on our company’s web site. I already recognize I should probably add the latest stylesheet for offline media, but as for adding the features, I don’t know what to do.
I was hoping there’s a simple way to do the idea using Javascript, or else, my only different alternative is ColdFusion (which the site is done in).
Assistance!
JS: http: //www. javascript-page. com/printpage. code
That ended up being quick – thank you! That’s half my personal problem down: squareeyed:
Oh, I never observed the e-mail element.
You may not use JS to be able to send e-mail I am just afraid.
From what I’ve observed in other sites’ form code, it appears how the ’email this page to your friend’ buttons submit to a PHP code regarding some kind. Consequently, I guess I might need the ColdFusion version of that.
I have some sort of PHP background so I have no idea of if this is usually feasible in Coldfusion.
In each page, collection a JS adjustable to window. location and fixed a hidden form element for this variable.
Next, that forms action tag might be to a emailing script that will send the page we were looking at viewing to the email address many people entered.
The problem with almost any " email to somewhat of a friend", or " amount my page"…
is spammers. Unfortunately, they may be ruining everyone’s online forms
by way of hammering them using spambots.
If you ever create a phone form that will get emailed, you might want to
look into using Captchas or other " human" pinpointing method.