Fog Creek Software
Discussion Board

Knowledge Base
Terry's Tips
Darren's Tips

"Print Version" Problem

I was working on a "Print Version" template and ran into the linking to print version problems that you have mentioned with CityDesk.

So I tried the alternate CSS version, which worked great _except_ that I have a floating JavaScript menu which doesn't go away when I print.

So, does anybody know how you can *turn off JavaScript* with CSS?

Tall order, I know . . .

Friday, October 11, 2002

The easiest way I know of, is surrounding it by
<DIV id=menu>

and then defining

#menu { display:none;visibility:hidden}

in your printer-template. If you use only one template, you can use the media type. (I would have to look it up)

Adriaan van den Brand
Saturday, October 12, 2002

*  Recent Topics

*  Fog Creek Home