scripty accordion

While using the scripty accordion action, is there a way to keep the “submenus” of a single header open once one of them was clicked? It is a bit confusing if the whole accordion closes at every click:

tierschutz-kalamata.eu.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The option is labeled ‘Show only one element at a time’. If this is un-checked, then you can have multiple options open at the same time, which I am guessing is what you’re asking for here.

Walter

On Feb 14, 2012, at 10:14 AM, tok wrote:

While using the scripty accordion action, is there a way to keep the “submenus” of a single header open once one of them was clicked? It is a bit confusing if the whole accordion closes at every click:

tierschutz-kalamata.eu.


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

Unchecking this button will allow to show more than one header’s submenus, but as soon as you click one of the latter the whole accordion will shrink again. It would be nice to keep just one header’s submenus in sight; otherwise it can become cumbersome to click one after the other.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

This is what I would like to do:


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I am sorry, bad link. Please try this one: http://pics.virch.net/accordionmenu.jpg


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

As long as the accordion is set up correctly, I can’t seem to make this not work the way you describe. Try this:

  1. Draw a new HTML box, double-click inside it, and type five or six lines of text (any text) separated by paragraph returns.

  2. Triple-click the first line, set it to h2 or h3.

  3. Do the same for the third line.

  4. Apply the SA Action to the box, set the trigger event to click, set the header element to be h2 or h3, depending on which you chose above. Uncheck “show only one element at a time”.

Now preview. Click on either of the headers. Its children appear. Click on the other header, now both segments are open. Click anywhere in the remaining elements (not on any of the headers), nothing changes. Click on one of the headers, and it closes its children back up.

There are very few rules to SA. Here they are:

  1. Only one level of hierarchy allowed.

  2. All headers must be the same tag as one another.

  3. All bodies must be the same tag as one another, and cannot include any of the header tags.

  4. Inline layouts only for the entire accordion area.

If you can fit your design into those rules, then it’s extremely simple to use. If you can’t, then there are other ways to build an accordion effect that you may like better.

Walter

On Feb 14, 2012, at 12:33 PM, tok wrote:

I am sorry, bad link. Please try this one: http://pics.virch.net/accordionmenu.jpg


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

First of all: thanks a lot for your quick answers, Walter. You are right: the script works perfect. The problems seems to be that each time you link from any accordion line to another page not only the page is loaded anew, but of course a (closed) accordion, too.

I tried to work around by splitting the pages into two frames using always the same source page for the accordion, but that would not help.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Oh, I see. I took a run at this a while back and started building a version that used cookies to maintain the illusion. But I never got around to finishing it. I get what you need, and the Action doesn’t provide it at the moment.

Walter

On Feb 14, 2012, at 3:23 PM, tok wrote:

First of all: thanks a lot for your quick answers, Walter. You are right: the script works perfect. The problems seems to be that each time you link from any accordion line to another page not only the page is loaded anew, but of course a (closed) accordion, too.

I tried to work around by splitting the pages into two frames using always the same source page for the accordion, but that would not help.


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

I feel I was pretty blockheaded yesterday; I found out why you probably dropped the idea of using cookies - the “show Element open when page loads” option offers just what I thought I was missing. I only had to create some more master pages (one for each element containing header):


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

No, I dropped it because I got busy with something else. I do plan to return to this later. I like your idea of using different Master pages, that’s a very neat solution to the problem for the meantime.

Walter

On Feb 15, 2012, at 6:02 AM, tok wrote:

I feel I was pretty blockheaded yesterday; I found out why you probably dropped the idea of using cookies - the “show Element open when page loads” option offers just what I thought I was missing. I only had to create some more master pages (one for each element containing header):

tierschutz-kalamata.eu


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

Another issue: if I visit the site with Internet Explorer (via Parallels Desktop) the accordion’s elements will show up for half a second, then slip away. No chance to click one. Other visitors have reported the same behavior.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Can you post a link that shows this problem? What version if IE are these reports from?

Walter

On Feb 21, 2012, at 8:48 AM, tok wrote:

Another issue: if I visit the site with Internet Explorer (via Parallels Desktop) the accordion’s elements will show up for half a second, then slip away. No chance to click one. Other visitors have reported the same behavior.


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

I do not know on which browser experience the reports are based; the IE I use is 9.1. (Site is still the same: tierschutz-kalamata.eu)


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options