On Mar 21, 2011, at 12:12 PM, sampolfonz wrote:
You are above my head a bit.
Okay, there is an action ADD SELECTOR ACTION…this is a Freeway
action? (Could not find this in any of my installed actions. )
That is no problem to download, I am sure.
Yes, get it at ActionsForge. If you want another way to do this, then
click once on your large HTML container (to answer your following
question) and choose Item / Extended from the main menu. Then click
New, and in the sub-dialog, enter:
- Name: id
- Value: guidelist
Okay out of the stack of dialogs, and you will have the same effect –
the table cell where you have inlined all of the station blocks will
now have an ID, which will make it possible for you to target it with
JavaScript.
Next, The colors are in background color and html background color
in the inspector panel. Type ‘inherit’ in the color choice ??
Confused here.
If you can remove the color attribute altogether, that will serve the
same purpose. The goal is to make all of these elements transparent,
so the background color set on the outermost block for each channel
can “shine through”. There’s a None option in any Freeway color
picker. Choose that if you have a standard Freeway color picker to
work with.
And, am I to add the ADD SELECTOR ACTION to the large html container
that contains all the inserts ?? How will each individual box know
to change color, every other one.
This is the clever part. The JavaScript will create an array (data
structure) out of all of the channel boxes. (It’s able to do this
because we gave that outer box an ID, so the script can find it later
when it runs.)
Then it loops over them one at a time, and if the current element in
the loop is even (if its idx attribute is an even multiple of 2, using
the modulus math operator symbolized by the percent sign) then it
doesn’t get a background. But if it is odd, then it does get a
background.
All of this processing is off-loaded to your visitor’s browser, and
because you’re not defining the same color over and over every other
channel, the page will load a few nanoseconds quicker.
Walter
As you can see, I am lost.
Can you help me further? If not, I understand.
Thanks,
Rich
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options