Not as it is written at the moment. You could modify the source code
that it generates to make it do so, but you’d have to make those
changes with a text editor each time you change the design.
This would be a lot easier if Freeway let you attach an ID to a header
tag, but that’s not possible in the current UI.
If you check the “Show the first element when the page loads” checkbox
in the Action, the code that gets added looks like this:
bods.first().show();
If you open the resulting page code up with a text editor, you can
change the script to make the third element open like this:
bods[2].show();
(Note that the third item has index 2, because you start at 0 in an
indexed object in JavaScript.)
I’ve already got a request on the spike to make a navigation
“flavored” version of this Action, so that the current page’s URL
would be used to determine if an element should be open or not. This
would be a logical addition along those same lines.
Walter
On Jan 11, 2010, at 5:38 AM, Mr worm wrote:
As per the ScriptyAccordian action, as seen on the example below:
ScriptyAccordion
Is it at all possible to have the Accordian open at the 2nd, 3rd or
even 4th ‘Heading’ and so on upon page load instead of the default
first option available?
I still only want to show on element at a time too and wish for the
structure of the list to remain in the same order, e.g. 1,2 open on
page load,3,4
Many thanks
Worm
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