Question
Hi Folks,
I am curious if there is a simple way to stop a particular paragraph or included topic from being printed, by commenting it somehow?
I have a menu bar that I built as its own topic, and it is included on all new pages created.
I'd like to tell it not to be included on the page when we print, and I'd like to be able to do that without editing the print.css file, if possible.
Other random uses would be to tell certain logos and graphics at the top of a page not to print. Some groups create elaborate header graphics on their webs, and I'd like to bypass those when printing.
Is there any kind of tag or code (such as
) that I can use to locally tell a paragraph or object not to print?
Many thanks for any suggestions...
Environment
--
StevenHall - 26 Mar 2007
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
we often use the html comments to hide topic content
ie
<!-- this is a comment -->
--
SvenDowideit - 28 Apr 2007
Reopening this question, Steven is looking for a way to suppress marked content in print, bit to have it shown normally in topic view.
--
PeterThoeny - 28 Apr 2007
Oops, thanks - answering too many things too fast :/
ok, printint seems to be done, by adding
?cover=print to the url, so
IfStatements suggests to me, that you could use an IF statement like
%IF{ " $cover = 'print'" then="hidden" else=""}%
either as to set a css class, or to contain the text (if its simple and small)
--
SvenDowideit - 29 Apr 2007
Closing this after more than 30 days inactivity; re-open if needed...
--
PeterThoeny - 02 Jun 2007