Code: Select all
</script>
<script type="text/javascript" language="JavaScript"><!--
function hide_menu(mnu){
mn=getMenuByName(mnu)
SDiv("menu"+mn,0)
}
function show_menu(mnu){
mn=getMenuByName(mnu)
SDiv("menu"+mn,1)
}
//--></script>
Code: Select all
<a href='javascript:hide_menu("mainmenu");self.print();show_menu("mainmenu")'>Impression facile</a>
I may also simply decide to delete the functions because the printing problem I had at the time seems to have disappeared. In fact, issuing the printing command in IE6 (PC) caused this application to generate a temporary printing file containing all the contents of my menu and submenus to be included, and this locked my HP LaserJet 2200d.
One printing problem remains, however, when printing pages using the Milonic menu, it happens that the last line of text is truncated vertically, i.e., the top part appears at the bottom of the page, and the rest goes at the top of the next page. I have seen this elsewhere once in a while, but is there a way to prevent this from happening?