I have a cool javascript function in an include statement with my header (graphics,etc).
When I print, I want to eliminate the header graphics as well as the menu -- I have been able to eliminate images/text where needed with my print.css file using a "noprint" class -- but can't figure out how to eliminate the script. I have tried including the class="noscript" in the intial script section, as well as in each image section -- but no luck yet. The menu works fine (code truncated here) and the class="noscript works fine in an image tag -- Ideas appreciated:
When I print, I want to eliminate the header graphics as well as the menu -- I have been able to eliminate images/text where needed with my print.css file using a "noprint" class -- but can't figure out how to eliminate the script. I have tried including the class="noscript" in the intial script section, as well as in each image section -- but no luck yet. The menu works fine (code truncated here) and the class="noscript works fine in an image tag -- Ideas appreciated:
Code:
<script language="JavaScript" type="text/javascript" class="noprint"><!--
var animMenu =
[
[null, 'Calls', 'url', 'target', 'description', // a menu item
['<img src="ThemeOffice/new.gif" / >', 'New', null, null, null],
['<img class="seq1" src="ThemeOffice/open.gif" / ><img class="seq2" src="ThemeOffice/openshadow.gif" / >', 'Open', null, null, null],
[null, 'Close', null, null, null],
_cmSplit,
etc.etc.etc.
cmDraw ('demo3', animMenu, 'hbr', cmThemeOffice, 'ThemeOffice');
--></SCRIPT>