Printing a series of IFRAME items
Posted: Mon Nov 14, 2005 11:35 am
Hey all,
I have a calendar-style report that is generated on the fly, and now the customer wants to see multiple years at once. The easiest way for me to do this (they need it fast) is to do a for/next loop and put each of the PHP pages into an IFRAME. Is there a way (possibly through Javascript) to print each iFrame as an individual page? Printing is currently messed up page by page, which is cutting each calendar off at a different location. I was going to put this in the JS section, but I'll probably have to call the function from PHP, or create it in PHP, as I'm not sure javascript can handle this task.
Thanks in advance!
I have a calendar-style report that is generated on the fly, and now the customer wants to see multiple years at once. The easiest way for me to do this (they need it fast) is to do a for/next loop and put each of the PHP pages into an IFRAME. Is there a way (possibly through Javascript) to print each iFrame as an individual page? Printing is currently messed up page by page, which is cutting each calendar off at a different location. I was going to put this in the JS section, but I'll probably have to call the function from PHP, or create it in PHP, as I'm not sure javascript can handle this task.
Thanks in advance!