Welcome Guest Search | Active Topics | Sign In | Register

Disable printing menu Options
New_customer
Posted: Tuesday, March 11, 2008 2:03:28 AM
Rank: Newbie
Groups: Member

Joined: 11/18/2007
Posts: 2
Dear support,

While evaluating your product I was wondering if it is possible to prevent the EO:Menu object from being printed on a sheet of paper when you press the print button of the browser.

Thanks in advance.
eo_support
Posted: Tuesday, March 11, 2008 7:20:19 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,218
Yes. You can do that by specifying a CSS file for printing. It will be something like this:

Code: HTML/ASPX
<link rel="stylesheet" type"text/css" href="print.css" media="print">

<div class="navigation">
   ....our menu goes here
</div>


Inside the .css file print.css you can do:

Code: CSS
.navigation
{
    display: none;
}


Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.