Monday, May 18, 2009

HTML/Javascript Trick! Printing Trick!

Does your website contain something that you might want your users to print? Some users might find it hard to print a webpage or image. So with this script you can make it super easy for all of the people that view your webpage to print it. This script will make a Javascript Alert asking the user if they want to print. An example can be found here.

The script is:

 

You can of course change what the alert will say by changing the text in between the quotations.

No comments:

Post a Comment