Forums

This topic is locked

Print one layer only?

Posted 10 Oct 2002 20:32:56
1
has voted
10 Oct 2002 20:32:56 Evan Wade posted:
Here's the scenario: Intranet web pages optimized for Internet Explorer (please don't lecture me on open source). I'm using layers with the DIV tag to lay out the pages.

Is there a way to script the print function of Internet Explorer to target a single layer to print? What I'm trying to accomplish is the ability to print only the main body content of the page while omitting naviagtion bars, headers, etc. that reside in other layers. I suspect that VBscript is the way to accomplish this, but would prefer a JavaScript method if anyone can think of it.

Thanks!

-Evan Wade

Reply to this topic