Print Templates, Part I: A Final Word - Doc JavaScript | WebReference

Print Templates, Part I: A Final Word - Doc JavaScript


Print Templates, Part I

A Final Word

In this column we started a new thread about print template development. We showed you how to use the DeviceRect and LayoutRect behaviors to format Web pages before printing. We taught you how to do it statically, when the number of pages is known and small. We also detailed the code that creates pages on the fly, to fit the exact number of required pages. We went carefully over the code and explained every relevant line.

In this column you have learned:

We also showed you the full code listing of the static print template, as well as the dynamic print template. You could load them from the enclosed zipped file.

http://www.internet.com


Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: July 30, 2001
Revised: July 30, 2001

URL: http://www.webreference.com/js/column89/10.html