» Forums
» DynarchMenu forum
» Support
» Avoid printing Context Menu
Avoid printing Context Menu
2007/10/24 15:12
Viewed 1821 times
Replies: 0/0

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

Google