On 12 Oct 2008, 4:57 am, WilliamMac wrote:
Content-type: multipart/alternative;
boundary=“Boundary_(ID_x2pHuUoRFlhUeBdrLakH3w)”
Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-transfer-encoding: 7BIT
Walter,
Wondering how you do this with the ajax action:
“You can use CSS to style the list as you like. The list has the
classname fileslist, and each item in the list will either have the
class even or odd. If you set a different background-color for each of
those styles, you will be able to show alternating stripes like a
Finder list view or iTunes.”
I can’t see how to edit styles with a classname “fileslist” Could you
give an old codger like me some step by step help???
Bill
Content-type: text/html; charset=US-ASCII
Content-transfer-encoding: quoted-printable
-webkit-line-break: after-white-space; =
">Walter,=
On 12 Oct 2008, 7:29 pm, waltd wrote:
Sure.
- Open the Styles palette, and click on the cog menu to New Style.
- In the resulting dialog, click into the Tag field and enter
ul.fileslist
.
- Tab or click into the Name field and delete whatever is there
(style1 or similar).
- Very important – tab back out of the Name field and save the style.
- Now you can edit this style and make whatever styling features you
like.
For example, you could use Extended to set padding and margin to 0.
Repeat the process above, but make the Tag field read ul.fileslist li
. Now use the Extended dialog to remove the bullets: Click on
Extended, then New, then in the Name field, enter list-style-type
,
and in the Value field, enter none
. Repeat this process to add no
padding and no margin, and you will have a completely tabula rasa
container for further styling.
Now repeat again, but add the a to the end, so you have this:
ul.fileslist li a
. In this style, remove the underline, change the
color, background-color, etc. Use Extended to add padding, set
display
to block
, etc. You can add a hover form of this style as
well, and make a nice effect when people mouse over.
The important thing here is to make all of these styles as Tag-only
styles, using the technique outlined above. When you do this, you
will see that Freeway publishes these style rules even when nothing
on the page is assigned them. Regular named styles are “pruned”
automatically, unless there is at least one instance on the page
where they are used.
Walter
On Oct 12, 2008, at 12:57 AM, Bill McCarroll wrote:
Walter,
Wondering how you do this with the ajax action:
“You can use CSS to style the list as you like. The list has the
classname fileslist, and each item in the list will either have the
class even or odd. If you set a different background-color for each
of those styles, you will be able to show alternating stripes like
a Finder list view or iTunes.”
I can’t see how to edit styles with a classname “fileslist” Could
you give an old codger like me some step by step help???
Bill
On 18 Oct 2008, 3:26 pm, WilliamMac wrote:
Walter,
I must be doing something that’s not quite right with your
instructions below. I went to my styles palette and created the tags
without a name as you mention.
I have the ajax files displaying on my page properly but the text
style hasn’t changed. Do I have to apply the style somehow.
I must admit, I’m a longtime freeway user but have never learned the
process of using the extended function or creating new extended
functions…how to do that properly but I dont’ think that’s the problem
Is there a tutorial to help me understand how tags work. I think
Ernie had something on this so I’ll check his website too.
Bill
On Oct 12, 2008, at 12:28 PM, Walter Lee Davis wrote:
Sure.
- Open the Styles palette, and click on the cog menu to New Style.
- In the resulting dialog, click into the Tag field and enter
ul.fileslist
.
- Tab or click into the Name field and delete whatever is there
(style1 or similar).
- Very important – tab back out of the Name field and save the
style.
- Now you can edit this style and make whatever styling features
you like.
For example, you could use Extended to set padding and margin to 0.
Repeat the process above, but make the Tag field read ul.fileslist li
. Now use the Extended dialog to remove the bullets: Click on
Extended, then New, then in the Name field, enter list-style-type
,
and in the Value field, enter none
. Repeat this process to add no
padding and no margin, and you will have a completely tabula rasa
container for further styling.
Now repeat again, but add the a to the end, so you have this:
ul.fileslist li a
. In this style, remove the underline, change the
color, background-color, etc. Use Extended to add padding, set
display
to block
, etc. You can add a hover form of this style as
well, and make a nice effect when people mouse over.
The important thing here is to make all of these styles as Tag-only
styles, using the technique outlined above. When you do this, you
will see that Freeway publishes these style rules even when nothing
on the page is assigned them. Regular named styles are “pruned”
automatically, unless there is at least one instance on the page
where they are used.
Walter
On Oct 12, 2008, at 12:57 AM, Bill McCarroll wrote:
Walter,
Wondering how you do this with the ajax action:
“You can use CSS to style the list as you like. The list has the
classname fileslist, and each item in the list will either have the
class even or odd. If you set a different background-color for each
of those styles, you will be able to show alternating stripes like
a Finder list view or iTunes.”
I can’t see how to edit styles with a classname “fileslist” Could
you give an old codger like me some step by step help???
Bill
On 18 Oct 2008, 6:18 pm, waltd wrote:
Could you please post a link to a sample page, so I can see what you’ve ended up with? To answer your question, no, you don’t have to apply these styles in order for them to apply. Note however that they will not apply in the design view, although that’s probably not what you are describing here.
Walter
On 18 Oct 2008, 7:10 pm, WilliamMac wrote:
Hi Walter,
Here’s the link to the page…site is still in work.
http://pacwestsfs.org/Conference/past_conferences.php
Bill
On Oct 18, 2008, at 11:18 AM, waltd wrote:
Could you please post a link to a sample page, so I can see what
you’ve ended up with? To answer your question, no, you don’t have to
apply these styles in order for them to apply. Note however that
they will not apply in the design view, although that’s probably not
what you are describing here.
Walter
On 19 Oct 2008, 3:19 am, waltd wrote:
Hmmmm. I must have lost my mind when I wrote the docs for this. The
classname that the Action is applying is ‘dirlist’, not fileslist. If
you change the names of your styles to reflect this, it will work.
By the way, I see a bunch of unfamiliar style elements in this:
ul.fileslist li { list-style-type:none; list-style-padding:none;
list-style-margin:none }
The only one I recognize as being a valid style parameter is list-
style-type. The other two would be expressed as simply margin and
padding. If you only want to affect the left padding and margin, then
use padding-left and margin-left.
Walter
On Oct 18, 2008, at 3:10 PM, Bill McCarroll wrote:
Hi Walter,
Here’s the link to the page…site is still in work.
http://pacwestsfs.org/Conference/past_conferences.php
Bill
On Oct 18, 2008, at 11:18 AM, waltd wrote:
Could you please post a link to a sample page, so I can see what
you’ve ended up with? To answer your question, no, you don’t have
to apply these styles in order for them to apply. Note however
that they will not apply in the design view, although that’s
probably not what you are describing here.
Walter
On 19 Oct 2008, 7:18 pm, WilliamMac wrote:
Perfect Walter, all now works. Just need to learn how to apply these
different style tricks.
Bill
On Oct 18, 2008, at 8:19 PM, Walter Lee Davis wrote:
Hmmmm. I must have lost my mind when I wrote the docs for this. The
classname that the Action is applying is ‘dirlist’, not fileslist.
If you change the names of your styles to reflect this, it will work.
By the way, I see a bunch of unfamiliar style elements in this:
ul.fileslist li { list-style-type:none; list-style-padding:none;
list-style-margin:none }
The only one I recognize as being a valid style parameter is list-
style-type. The other two would be expressed as simply margin and
padding. If you only want to affect the left padding and margin,
then use padding-left and margin-left.
Walter