On 20 August 2011 01:01, Will <[email protected]> wrote: > Hi, > > After re-reading the section on conf files in the user guide and > looking at the existing conf files I think I figured out what you > mean. By creating a new collapse.conf file with the following (and > making some changes to the JS), I seem to be able to replicate most of > the behaviour of the filter: > > [paradef-default] > collapse-style=template="collapseblock",subs=["normal"] > > [blockdef-open] > collapse-style=template="collapseblock",subs=["normal"] > > [collapseblock] > <div class="collapse-wrapper"> > <div class="collapse-head"> > <div class="control"><a href="#" onclick="javascript:collapse(this); > return false;" title="collapse">{expandtext=+ more}</a></div> > <div class="content">{title=Click to expand...}</div> > </div> > <div class="collapse-body"> > <div class="control"><a href="#" onclick="javascript:collapse(this); > return false;" title="collapse">{collapsetext=- less}</a></div> > <div class="content">|</div> > </div> > </div> > > > I still need to expand the [collapseblock] to replicate some options, > but am I on the right lines here?
Well done, that looks like you are on the right track there. Cheers Lex -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
