Okay. The Convert to Stylesheet works this way (it was necessary in
the bad old days of Freeway < 4, where external stylesheets were
impossible).
You apply the Action to a page in your site. On that page, you create
instances of each style that you would like to have in an external
stylesheet. (By this, I mean draw a text box, add some dummy text to
it, and style that text the way you would like it to appear. Be sure
to name the resulting style in the Edit / Styles dialog so you can
reference it by name elsewhere.)
Rename the page’s filename (in the Inspector) to something.css.
When the page is published by Freeway, everything in the body of the
page will be deleted, and only the content of the < style > tag will
be published. The result will be a new css file that you can
reference from another page in the site. There is one other option in
this Action. On the Actions palette, you’ll see a button labeled
Additional Styles. Anything you hand-code in this interface will be
added to the generated stylesheet. These rules will be added last, so
they will have more precedence than anything generated within the page.
The External Stylesheet Action allows you to attach a separate
stylesheet, whether created with Convert to Stylesheet or created in
another application, to your Freeway page. If you have already set
your Freeway page to generate external stylesheets, this will add a
second stylesheet to the page.
This Action also has the option to scrub all local styles out of the
head of the page. Use this feature with caution, particularly if you
have already set the page to use External Stylesheets in the Document
Setup dialog. This option really only makes sense if you are creating
template “partials” or other page assembly techniques, and was really
only necessary in the bad old days of Freeway 3 (when the Action was
written). Freeway 4 and 5 have support for external stylesheets built
in, albeit in a limited fashion.
Walter
On Nov 24, 2008, at 10:49 AM, Thomas Thaler wrote:
Dear Walter
I’m looking for a readme with maybe an example for the scrpits
External Stylesheet & Convert To Stylesheet.
If you can help with this I would apreceate it very much.
Kind regards from a snowy Switzerland
Thomas Thaler
dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options