Recent Changes - Search:

Site

Dev

Consulting

pmwiki.org

WikiSandbox edit SideBar
Version: Php-5.6.40-27+0~
Version: pmwiki-2.2.90

Jscm-sample4

Jscm (JsCookMenu based dropdown menu)

Package version/links:

pmwiki-2.2.90
Skin - pmwiki
jscm-2.3.0-20140310

Sample1 Sample1 | Sample2 Sample2 | Sample3 Sample3
(From page wiki links)
|
Sample4 Sample4
(From Pagelist)
|
Menu Builder Menu Builder
(Web browser based easy menubuilder)

Some of the potential uses of Jscm  
 It can be used inside the wikipages.
 Site wide or group wide menus can be set.
 Page wise menus can be set.
 Menupages can be easily created (using web based menu creater) and uploaded.
 Menu can be build and displayed from menupage, wikilinks and pagelist.
 This menu system can also change its theme by changing a variable value.

Examples

View Source

Menus from pagelist.

fmt=#cmlist (template)

[[#cmlist]]
(:if ! equal {=$Group} {<$Group}:)
*~#~ [[{=$Group}]]
(:if:)
**~#~ [[{=$Group}/{=$Name}]]
[[#cmlistend]]
Alternate
[[#cmenulist]]
(:template first {=$Group}:)
*~#~ [[{=$Group}]]
(:template each:)
**~#~ [[{=$Group}/{=$Name}]]
[[#cmenulistend]]

Menu from pagelist

>>id=fplcmlist<<
(:pagelist group=Cookbook name=Jscm* list=normal fmt=Cookbook.Jscm-sample4#cmenulist wrap='none':)
>><<
(:jscmDraw fplcmlist hur cmThemeOffice2003:)
Menu from pagelist - 2nd Call

>>id=id2<<
(:pagelist group=Cookbook name=Jscm* list=normal fmt=Cookbook.Jscm-sample4#cmenulist wrap='none':)
>><<
(:jscmDraw id2 hur cmThemeOffice:)










Edit - History - Print - Recent Changes - Search
Page last modified on March 12, 2014, at 05:38 PM