The Web Development Blog has moved to http://www.heidicool.com/blog/. Please visit me there to read the latest entries and to update your bookmarks and RSS feeds.
March 22, 2005
Automatic 'Print this page'
This print function is also very useful when you are using frames. Since the browser doesn't always know which of the frames you want printed, and sometimes will only print the top frame you can use this to only send the data that the user will want printed. As long as you think you can predict WHICH of the frames they will want.
How do you do it? Put the following code somewhere on your page, again usually in the upper right.
< a href="#" onClick="window.print()" >Print this page< /a >
Try it next time you need or want to provide another feature on your site. As always though my advice is; don't overuse it!
Hope this helps!
Posted by: Kevin Adams March 22, 2005 11:54 AM | Category: Tips and Tricks
TrackbacksTrackback URL for this entry is: Automatic 'Print this page'
Office of Marketing and Communications