» Forums
» DynarchChat
» Bug reports
» Printing context menu also
Printing context menu also
2007/10/24 15:19
Viewed 2620 times
Replies: 1/1

Hi,
We are using hmenu.js file for Context Menu. We have created context menu for Print and Exit options. When we print the page which is having chart, it also print the context menu on the chart.

PLease let us know how avoid the printing of context menu.

Please find below code which I am using.
<html>
<body onload="DynarchMenu.setup('menu', { context: true });" id="document">
<ul id="menu" style="display:none">
<li class="context-class-div-hotspot">
<ul>
<li>
<a href="javascript:window.print();">Print</a>
</li>
<li>
<a href="javascript:window.close();">Close</a>
</li>
</ul>
</li>
</ul>
</body>
</html>

Thanks in Advance,
Moogi

Re: Printing context menu also
2007/10/24 15:40
Viewed 3978 times
Replies: 0/0

I think there's a simple solution. Try including the following CSS somewhere in your page style:

@media print {
div.dynarch-popup-menu { display: none }
}
last
Google