Bug reports
2004/09/27 13:35
Viewed 18099 times
Replies: 1/2

Bugs? BUGS?? Sure, there might be many--as in any software product. Post them here.

Printing context menu also
2007/10/24 15:19
Viewed 4883 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

last
Re: Printing context menu also
2007/10/24 15:40
Viewed 7483 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