%STARTSECTION{"treeplugin_example"}% <ul id="tree-demo" class="sf-menu"><li><a name="topiclist" class="sf-with-ul">Topics...</a><span class="sf-sub-indicator">»</span> %TREE{ web="%URLPARAM{"qweb" default="%BASEWEB%"}%" formatting="ullist" nodiv="1" }%</li> </ul><!-- close the sf-menu --> %CLEAR% %ENDSECTION{"treeplugin_example"}%TreePlugin not enabled
This menu uses the optional Supersubs plugin (currently beta) to make the sub-menu widths variable. The fixed width set in the CSS is overridden and all menu items within a sub-menu are altered to match the width of their widest sibling. This is most commonly used to make all menu items fit on one line so that they are all of equal height. Note that Supersubs needs to be called before Superfish in the initialisation chain...
I | Attachment | Action![]() |
Size | Date | Who | Comment |
---|---|---|---|---|---|---|
![]() |
example.js | manage | 0.2 K | 08 Nov 2009 - 13:05 | ProjectContributor |