Hello,
Can I suggest an action to stop a page item from printing.
For example - a menu.
actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
Hello,
Can I suggest an action to stop a page item from printing.
For example - a menu.
actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
If you did do this on a normal CSS layout page (i.e., not a “box
model” nested layout) then you would end up with “holes” in the
printed page where the non-printing elements were. Would that be okay
for your purposes? Because if you can live with this limitation, this
would be really easy to do. Ideally, everything would collapse to fill
the missing bits, but that won’t happen at all in a positioned layout.
Walter
On Mar 18, 2009, at 1:38 PM, NicolasAllan wrote:
Hello,
Can I suggest an action to stop a page item from printing.
For example - a menu.
actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
The Image Guardian action makes a nod in this direction by applying a print CSS
stylesheet to targetted images. When the page is printed or previewed the image
data is ignored and the final page is output with a blank space where the image
would normally have been.
You can extend this concept in your CSS layouts by creating a stylesheet for
print that ignores your navigation, header bar and advertising (for example).
You may also want to reformat the printing elements to make better use of the
available paper sizes. Print styles are definitely a subtle change to your site
that not all users will see but it’s these details that make your site perfect!
Regards,
Tim.
Quoting NicolasAllan email@hidden:
Hello,
Can I suggest an action to stop a page item from printing.
For example - a menu.
–
Extend Freeway the way you want with FreewayActions.com
http://www.freewayactions.com
actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
Hello WaltD and Tim,
“Holes” in the printed page where the non-printing elements are would be okay.
I love Freeway and the ease of positioning everything to x-y co-ordinates with each item on its own layer - including the database I use. What used to take weeks now takes days.
See http://www.nicolas-allan.co.uk/dpc2009/index2009.html - a draft idea for a double property dbase in French and English.
Nicolas.
actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
Hi Nicolas,
Try this;
Print style sheets can be really quite powerful and allow you to
layout the page for A4, US letter, or various other print formats
rather that chancing that your page design will fit on the printed
page and look at all good.
Regards,
Tim.
On 18 Mar 2009, at 18:59, NicolasAllan wrote:
Hello WaltD and Tim,
“Holes” in the printed page where the non-printing elements are
would be okay.I love Freeway and the ease of positioning everything to x-y co-
ordinates with each item on its own layer - including the database I
use. What used to take weeks now takes days.See http://www.nicolas-allan.co.uk/dpc2009/index2009.html - a draft
idea for a double property dbase in French and English.Nicolas.
actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
This was added to have all comments in one place for future visitors.
Hello Tim,
Thanks for the rapid response. Your instructions very were clear and easy to follow.
But I cannot get it to work (yet) so I give extracts from the VIEW SOURCE for the page.
I added the following on the MASTER PAGE and ensured that all relevant site pages were “as master”.
Sometimes I noted that STYLE INSPECTOR has [.noprint] rather than .noprint. so I redid to remove the [ ]
Regards
Nick
Here is the URL of the page to print
http://www.guyenne-immobilier.co.uk/listman/listings/l0209.html
Here is what is in the header (view source)
li { line-height: 14px; } .noprint {display: none}Perhaps “” for ‘’ and { …none; } ???
Here is the partial code for the CSS MENU + a small graphic (a toolbox)
actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
Hi Nicolas,
I tested your page and the solution is to remove any empty spaces before the class
(remove empty spaces here).noprint {display: none}
You may want to add a white background color for your page when people print it, so place this exactly beneath the noprint class:
body {background-color:#fff}
actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
Success !!
Thanks Maccie, WaltD, and Tim
This saves creating a page especially for printing.
In summary…
This code snippet goes in the header area…
.noprint {display: none} body {background-color:#fff}Then…On the FW page…
A grateful
Nick
actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
Excellent. I’m glad you got it working OK.
Regards,
Tim.
Quoting NicolasAllan email@hidden:
Success !!
–
Extend Freeway the way you want with FreewayActions.com
http://www.freewayactions.com
actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options