Print Templates, Part V: Re-pagination: A Final Word - Doc JavaScript
Print Templates, Part V: Re-pagination
A Final Word
In this column we continued our series on print templates. We explained how to impact the page formatting when there is a change in the zoom factor. We taught you how to install a new event handler to check whether re-pagination is needed or not. We showed you how to hide excess pages in a very efficient way. We described the zoom entry GUI, and how it affects the page layout. We scanned through the initialization section and revised the process of converting STYLE
rules to style
objects.
In this column you have learned:
- How to write the print template
template7.html
- How to prompt the user for a new zoom factor
- How to change the zoom factor of the document
- How to hide excess pages
- How to initialize the print template
You could see the full code listing of template7
on Page 7. You could load it from the enclosed zipped file.
Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: October 8, 2001
Revised: October 8, 2001
URL: https://www.webreference.com/js/column94/8.html