On Nov 3, 2007, at 12:07 PM, atelier wrote:
I want to activate the Link-Style action on an element which is
inside a cell in a table (yes I want that table because the
different cells contain text that must line)
But the action does not show up in the list when marking that cell
content. Do I miss something here?
No, this seems to be a limitation of the Action. I believe this is
because Freeway doesn’t name things at the sub-table level. The table
(more accurately, its enclosing DIV) has an ID, which can be used to
build the table-level link styles and apply them through the stylesheet.
I have an Action you could use to do what you are trying to do. It’s
called Add Selector, and it’s available here: <http://freewaypro.com/
actions/downloads/>. To do what you’re trying to do, you would apply
that action to the table cell or row, be sure to change the picker in
the Actions palette to match which element you really do want to
attach to, and then give the row or cell an ID or Class. Either one
will work.
Then, you need to build your specific styles long-hand in the Styles
palette, and apply them to something on the page so they get
published into the stylesheet. (The easiest way to get this to happen
is to draw an HTML box on the pasteboard, apply the styles to text
within that box, then un-check the Layer checkbox in the Inspector
for that.)
The styles need to be made using the Styles palette, and you need to
put the entire name of the style in the Tag field, while ensuring
that the Name field is left empty.
Here’s an example, assuming that you applied the Action to the table
row, and that you used the ID form rather than the class form.
tr#mystyle a {
color: #000;
text-decoration: none;
font: 13px/13px Verdana;
padding: 2px 4px;
}
tr#mystyle a:hover {
color: #fff;
background-color: #000;
}
Now all links within the table row with the ID mystyle will take on
the appearance defined in the stylesheet.
Walter
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options