Ruby on Rails
JavaScript, XHTML, CSS
Java, Distributed Systems
<you_name_it>
Any way to disable Liquid Canvas for printing?
Submitted by timsamoff on Tue, 03/02/2010 - 21:18
Hi,
It's easy to disable CSS for printing. The problem is, if I hide one of the divs that is being affected by Liquid Canvas, it also hides the content within the div (in any case, LQ still seems to want to render the canvas for the div even if it's not being displayed by the CSS).
So... Is there anyway to disable LQ for printing?
Thanks,
Tim
Trackback URL for this post:
http://www.ruzee.com/trackback/286

Solution
Hey,
I'm not sure if you got this fixed or not but I ran into the same problem and have found the solution.
Create a stylesheet and link with media="print" so it is only active when printing, then, in your stylesheet add the following:
canvas{ display:none; }
it will remove the liquid canvas for printing...
I hope this helps someone... :)
test hinding canvas
Hi,
for me setting the visibility of the canvas-object to none did work (Tested only for Firefox 3.5. IE, ... not tested yet). Possibly not the best solution, maybe someone has a better one...
Greets, Olli
Yes, but...
Sure, that's works, but not if the element has content in it. I should have been more clear:
Any way to disable the effect, but not hide the content.
Of course, I could wrestle with a ton of nested divs to handle this, but it would be easier to just disable the effect.
Thanks,
Tim