Click to See Complete Forum and Search --> : Printing Layers


PXLLAB
04-28-2003, 12:29 PM
This is my first time using layers in html. I am wondering if there is a way to print out all the information in a layer. When I add a print button it will only print the portion showing in the scroll box. If anybody has any suggestions I could really use some help as the customer really wants the top nav to stay in the picture at all times without using frames.

Thanks in advance. ;)

Jona
04-28-2003, 12:31 PM
No, but you can use Javascript to pull a value and send it to a hidden form and use Javascript to submit that form to a server-side page. And the server-side page can write a new .txt file with the content in it, and then you can use Javascript to print that text file.

Problems with this: It will only work in Internet Explorer. It will only work for the approximately 90% of your visitors who have Javascript enabled. It will have quite a few security issues/bugs that will need to be worked out.