summaryrefslogtreecommitdiff
path: root/TWiki
diff options
context:
space:
mode:
Diffstat (limited to 'TWiki')
-rw-r--r--TWiki/WebMenuFormat.mdwn33
1 files changed, 29 insertions, 4 deletions
diff --git a/TWiki/WebMenuFormat.mdwn b/TWiki/WebMenuFormat.mdwn
index 77005da4..e95b6b71 100644
--- a/TWiki/WebMenuFormat.mdwn
+++ b/TWiki/WebMenuFormat.mdwn
@@ -1,4 +1,14 @@
-# <a name="WebMenu_format"> </a> [[WebMenu]] format
+**_Related topics:_** [[WebMenu]], [[GnuSkinPlugin]], [[TigerSkinPlugin]], %TWIKIWEB%.TWikiPlugins
+
+# <a name="WebMenu_format"> WebMenu format </a>
+
+## <a name="Introduction"> Introduction </a>
+
+The left hand menu used in both the GnuSkin and the TigerSkin themes for the TWiki is defined by the [[WebMenu]] topic. Its format can, at first glance, seem a bit complex. The following sections tries to explain the syntax.
+
+When used with the [TigerSkin](http://twiki.org/cgi-bin/view/Plugins/TigerSkinPlugin) the left-hand menu bar is presented with advanced JavaScript features. Whereas the [[GnuSkin]] has an extremely simplified version enabled per default. As the JavaScript engine for presenting the [[WebMenu]] topic evolves more user agents, e.g., Mozilla, Netscape and Opera will get support for the more powerful JavaScript presentation. Currently only Internet Explorer is completely supported.
+
+## <a name="Syntax"> Syntax </a>
<table border="1" cellpadding="1" cellspacing="0">
<tr>
@@ -10,11 +20,26 @@
<td> topic in Web, any number of these after %<nop>WEB% </nop></td>
</tr>
<tr>
+ <td> %<nop>LINK{name="..." [url="..."]}% </nop></td>
+ <td> Genric entry, an URL. </td>
+ </tr>
+ <tr>
<td> %<nop>DEFAULTITEMS% </nop></td>
- <td> default topics sefined by using SET DEFAULTITEMS </td>
+ <td> default topics defined by using SET DEFAULTITEMS </td>
</tr>
</table>
-* One of the above items per line, see example that comes with [[TigerSkinPlugin]], or the Knowledge webs [[Know/WebMenu]].
+* **_Only put one WebMenu command per line_**.
+
+* The WEB command creates a top-level menu item. Usually used to present a TWiki web with (possibly a different) name. Set the expand option to "always" if you always want this top-level item to be expanded (all sub-items displayed). Or set it to "never" to never expand it, not even when you are visiting that web.<br />**_Example:_**
+ * %WEB\{name="People" home="Main"\}%
+
+* The ITEM command creates a sub-level item. Only two levels exist in the WebMenu, top-level and sub-top-level. The topic option denotes the actual web topic, with respect to the top-level web. The name option can be used to reference a topic with a different name. E.g., ChangeLog instead of WebChanges, for instance.<br />**_Example:_**
+ * %ITEM\{name="WebPreferences"\}% — A sub-level item called WebPreferences which links to the same topic.
+
+* The LINK entry is a generic sub-level item. If you do not understand any of the others this one is for you. This can completely replace the ITEM above, if you like.
+
+* The DEFAULTITEMS is a set of sub-level items that are common for many webs. The setting is a comma separated list of items. Do _NOT_ put any spaces between the comma and the following item!<br />**_Example:_**
+ * Set DEFAULTITEMS = %ITEM\{name="Preferences" topic="WebPreferences"\}%,%ITEM\{name="ChangeLog" topic="WebChanges"\}%,%ITEM\{name="WebNotify"\}%,%ITEM\{name="WebStatistics"\}%
-* The DEFAULTITEMS is a comma separated set of items. _No_ spaces between comma and items!
+**_Please note:_** If you consult (as in copy-paste) the sources on this page, remove all &lt;nop&gt; statements in your text. Otherwise the settings will not work for you. [汽车租赁](http://www.shundao.com) [租车](http://www.shundao.com) [升降机](http://1shengjiangji.shop263.com) [粉碎机](http://www.cctm.com) [上海平安保险公司](http://shpa18.shop263.com) [审计](http://shenji.shop263.com) [税务](http://shuiwu.shop263.com) [展示台](http://zhanshitai.shop263.com) [风幕机](http://fengmuji.shop263.com) [不锈钢](http://buxiugang.0008888.com) [打印机](http://dayinji.0008888.com) [钢结构](http://gangjiegou.0008888.com) [计算机](http://jisuanji.0008888.com) [加盟](http://jiameng.0008888.com) [建筑材料](http://jianzhucailiao.0008888.com) [旅行社](http://lvxingshe.0008888.com) [企业管理](http://qiyeguanli.0008888.com) [人力资源](http://reliziyuan.0008888.com) [网页设计](http://wangyesheji.0008888.com) [市场营销](http://shichangyingxiao.0008888.com) [室内设计](http://shineisheji.0008888.com) [手机](http://shouji.0008888.com) [饲料](http://siliao.0008888.com) [涂料](http://tuliao.0008888.com) [卫星电视](http://weixingdianshi.0008888.com) [物流](http://wuliu.0008888.com) [远程教育](http://yuanchengjiaoyu.0008888.com) [展览](http://zhanlan.0008888.com) [包装机械](http://baozhuangjixie.0008888.com) [包装设计](http://baozhuangsheji.0008888.com) [玻璃钢](http://boligang.0008888.com) [瓷砖](http://cizhuan.0008888.com) [地板](http://diban.0008888.com) [电池](http://dianchi.0008888.com) [电动工具](http://diandonggongju.0008888.com) [电话](http://dianhua.0008888.com) [电缆](http://dianlian.0008888.com) [电器](http://dinaqi.0008888.com) [电线电缆](http://dianxiandianlan.0008888.com) [电源](http://dianyue.0008888.com) [雕塑](http://diaoshu.0008888.com) [耳机](http://erji.0008888.com) [二手电脑](http://ershoudiannao.0008888.com) [二手房](http://ershoufang.0008888.com) [发电机](http://fadianji.0008888.com) [防盗门](http://fangdaomen.0008888.com) [纺织](http://fangzhi.0008888.com) [机票](http://jipiao.0008888.com) [复印机](http://fuyinji.0008888.com) [钢铁](http://gangtie.0008888.com) [工程机械](http://gongchengjixie.0008888.com) [广告设计](http://guanggaosheji.0008888.com) [继电器](http://jidianqi.0008888.com) [家电](http://jiadian.0008888.com) [建筑设计](http://jianzhusheji.0008888.com) [交换机](http://jiaohuanji.0008888.com) [洁具](http://<a href=) [开关](http://kaiguan.0008888.com) [乐器](http://yueqi.0008888.com) [木地板](http://mudiban.0008888.com) [皮革](http://pige.0008888.com) [啤酒](http://pijiu.0008888.com) [润滑油](http://runhuayou.0008888.com) [摄像机](http://shexiangji.0008888.com) [摄像头](http://shexiangtou.0008888.com) [数码摄像机](http://shumashexiangji.0008888.com) [塑料机械](http://suliaojixie.0008888.com) [体育用品](http://tiyuyongpin.0008888.com) [网络电话](http://wangluodianhua.0008888.com) [望远镜](http://wangyuanjing.0008888.com) [文具](http://wenju.0008888.com) [五金工具](http://wujingongju.0008888.com) [显示器](http://xianshiqi.0008888.com) [相机](http://xiangji.0008888.com) [香水](http://xiangshui.0008888.com) [蓄电池](http://xudianchi.0008888.com) [仪表](http://yibiao.0008888.com) [中央空调](http://zhongyangkongtiao.0008888.com) [珠宝](http://zhubao.0008888.com) [平面设计](http://pingmiansheji.0008888.com) [传感器](http://chuanganqi.0008888.com) [摩托车](http://motuoche.0008888.com) [玻璃](http://boli.0008888.com) [电机](http://dianji.0008888.com) [工艺品](http://gongyipin.0008888.com) [化工](http://huagong.0008888.com) [化妆品](http://huazhuangpin.0008888.com) [机械](http://jixie.0008888.com) [空调](http://kongtiao.0008888.com) [时装](http://shizhuang.0008888.com) [食品](http://shipin.0008888.com) [塑料](http://suliao.0008888.com) [陶瓷](http://taoci.0008888.com) [玩具](http://wanju.0008888.com) [五金](http://wujin.0008888.com) [印刷](http://yinshua.0008888.com) [轴承](http://zhoucheng.0008888.com) [钢材](http://gangcai.0008888.com) [汽车配件](http://qichepeijian.0008888.com) [橡胶](http://xiangjiao.0008888.com) [变压器](http://bianyaqi.0008888.com) [订房](http://dingfang.0008888.com) [订票](http://dingpiao.0008888.com) [水处理](http://shuichuli.0008888.com) [显示屏 [礼品](http://lipin.0008888.com) [旅游](http://lvyou.0008888.com) [汽车](http://qiche.0008888.com) [服装](http://fuzhuang.0008888.com) [电影](http://dianying.0008888.com) [数码相机](http://shuomaxiangji.0008888.com) [稳压器](http://wenyaqi.0008888.com) [招聘](http://zhaopin.0008888.com) [触摸屏](http://chumoping.0008888.com) [机柜](http://jigui.0008888.com) [酒店预定](http://jiudianyuding.0008888.com) [模具](http://moban.0008888.com) [在线电影](http://zaixiandianying.0008888.com) [笔记本](http://bijiben.0008888.com) [虚拟主机](http://xunizhuji.0008888.com) [管理咨询](http://guanlizixun.0008888.com) [域名注册](http://yumingzhuce.0008888.com) [成人电影](http://chengrendianying.0008888.com) [肾病](http://shenbing.0008888.com) [免费电影](http://mianfeidianying.0008888.com) [肿瘤](http://zhongliu.0008888.com) [显微镜](http://xianweijing.0008888.com) [婚介](http://hunjie.0008888.com) [股票](http://gupiao.0008888.com) [交换机](http://jiaohuaji.0008888.com) [糖尿病](http://tangniaobing.0008888.com) [企业邮箱](http://qiyeyouxiang.0008888.com) [乙肝](http://yigan.0008888.com) [对讲机](http://duijiangji.0008888.com) [化妆品](http://guanzhuangpin.0008888.com) [股骨头坏死](http://gugutouhuaisi.0008888.com) [电子商务](http://dianzishangwu.0008888.com) [网站推广](http://wangzhantuiguang.0008888.com) [美女](http://meinv.0008888.com) [UPS](http://UPS.0008888.com) [液晶](http://yejing.0008888.com) [尿毒症](http://niaoduzheng.0008888.com) [条码打印机](http://tiaomadayinji.0008888.com) [电脑](http://diannao.0008888.com) [家具](http://jiaju.0008888.com) [投影幕](http://touyingmu.0008888.com) [服饰](http://fushi.0008888.com) [网站空间](http://wangzhankongjian.0008888.com) [轮胎](http://luntai.0008888.com) [网上购物](http://wangshanggouwu.0008888.com) [化学试剂](http://huazhuangshiji.0008888.com) [媒体](http://meiti.0008888.com) [手套](http://shoutao.0008888.com) [二手笔记本](http://ershoubijiben.0008888.com) [发动机](http://fadongji.0008888.com) [免费下载电影](http://mianfeixiazaidiannao.0008888.com) [水泥](http://shuini.0008888.com) [塑料制品](http://shuliaozhipin.0008888.com) [机床](http://jichuang.0008888.com) [免费音乐下载](http://mianfeiyinyuexiazai.0008888.com) [随身听](http://suishenting.0008888.com) [防水材料](http://fangshuicailiao.0008888.com) [纺织机械](http://fangzhijixie.0008888.com) [耐火材料](http://naihuocailiao.0008888.com) [肺结核](http://feijiehe.0008888.com) [肺炎](http://feiyan.0008888.com) [风机](http://fengji.0008888.com) [家居装饰](http://jiajuzhuangshi.0008888.com) [脱发](http://tuofa.0008888.com) [钢板](http://gangban.0008888.com) [汽车美容](http://qichemeirong.0008888.com) [网络电话](http://wangluodiannao.0008888.com) [监理](http://jianli.0008888.com) [减速机](http://jiansuji.0008888.com) [钢板网](http://gangbanwang.0008888.com) [钢管](http://gangguan.0008888.com) [网络设备](http://wangluoshebei.0008888.com) [洗衣机](http://xiyiji.0008888.com) [显卡](http://xianka.0008888.com) [刀具](http://daoju.0008888.com) [电视机](http://dianshiji.0008888.com) [锅炉](http://guolu.0008888.com) [二手车](http://ershouche.0008888.com) [滑板](http://huaban.0008888.com) [眼镜](http://yanying.0008888.com) [办公用品](http://bangongyongpin.0008888.com) [防盗门](http://fangqiemen.0008888.com) [仪器](http://yiqi.0008888.com) [保温材料](http://baowencailiao.0008888.com) [继电器](http://xudianqi.0008888.com) [变频器](http://bianpingqi.0008888.com) [办公家具](http://bangongjiaju.0008888.com) [货运](http://huoyun.0008888.com) [高尔夫](http://gaoerfu.0008888.com) [叉车](http://chache.0008888.com) [插件](http://chajian.0008888.com) [超声](http://chaosheng.0008888.com) [泳装](http://yongzhuang.0008888.com) [箱包](http://baozhuang.0008888.com) [小提琴](http://xiaotiqin.0008888.com) [冲压](http://chongya.0008888.com) [除湿机](http://chushiji.0008888.com) [油漆](http://youqi.0008888.com) [小尾寒羊](http://xiaoweihanyang.0008888.com) [元器件](http://yuanqijian.0008888.com) [磁性材料](http://cixingcailiao.0008888.com) [刺绣](http://cixiu.0008888.com) [运动鞋](http://yundongxie.0008888.com) [型材](http://xingcai.0008888.com) [打火机](http://dahuoji.0008888.com) [打折机票](http://dazhejipiao.0008888.com) [灯泡](http://dengpao.0008888.com) [电子产品](http://dianzichanpin.0008888.com) [电子技术](http://dianzijishu.0008888.com) [垫仓板](http://diancangban.0008888.com) [吊钩](http://diaogou.0008888.com) [吊网](http://diaowang.0008888.com) [合成纤维吊装带](http://hechengxianweidiaozhuangdai.0008888.com) [烘干机](http://hongganji.0008888.com) [胶带](http://jiaodai.0008888.com) [结核](http://jiehe.0008888.com) [咖啡](http://kafei.0008888.com) [空压机](http://kongyaji.0008888.com) [冷却塔](http://lengqueta.0008888.com) [热水器](http://reshuiqi.0008888.com) [日用品](http://riyongpin.0008888.com) [乳品机械](http://rupinjixie.0008888.com) [石材](http://shicai.0008888.com) [食品机械](http://shipinjixie.0008888.com) [收音机](http://shouyinji.0008888.com) [手表](http://shoubiao.0008888.com) [化工原料](http://hagongyuanliao.0008888.com) [多电脑切换器](http://duodiannaoqiehuanqi.0008888.com) [茶叶](http://chaye.0008888.com) [医疗设备](http://yiliaoshebei.0008888.com) [微型打印机](http://weixingdayinji.0008888.com) [饮水机](http://yinshuiji.0008888.com) [污水处理](http://wushuichuli.0008888.com) [印刷机](http://yinshuaji.0008888.com) [冰箱](http://binxiang.0008888.com) [财务软件](http://caiwurujian.0008888.com) [彩钢板](http://caigangban.0008888.com) [音响](http://yinxiang.0008888.com) [仓储](http://cangchu.0008888.com) [木制品](http://muzhipin.0008888.com) [遥控器](http://yaokongqi.0008888.com) [摄影器材](http://sheyingqicai.0008888.com) [数码产品](http://shuomachanpin.0008888.com) [床上用品](http://chuangshangyongpin.0008888.com) [面料](http://mianliao.0008888.com) [拉链](http://lalian.0008888.com) [机箱](http://jixiang.0008888.com) [包装材料](http://baozhuangcailiao.0008888.com) [涂装](http://tuzhuang.0008888.com) [水表](http://shuibiao.0008888.com) [管理培训](http://guanlipeixun.0008888.com) [门窗](http://menchuang.0008888.com) [破碎机](http://posuji.0008888.com) [自动门](http://zidongmen.0008888.com) [自吸泵](http://zixibeng.0008888.com) [硬盘](http://yingpan.0008888.com) [绿色食品](http://lvseshipin.0008888.com) [燃气设备](http://ranqishebei.0008888.com) [容器](http://rongqi.0008888.com) [软管](http://ruanguan.0008888.com) [木业](http://muye.0008888.com) [blog](http://www.blogbus.com/blogbus/blog/diary.php?diaryid=580081) [blog](http://www.yourblog.org/Data/20051/207806.html) [blog](http://bodashitong.blogchina.com/) [blog](http://basics.sjtu.edu.cn/blog/index.php?op=ViewArticle&blogId=17&articleId=41) [blog](http://bbs.dprktime.com/more.asp?name=bodashitong&id=331) [blog](http://blog.china-pub.com/more.asp?name=bodashitong&id=7116) [blog](http://blog.aspcool.com/bodashitong/archive/2005/01/17/1717.html) [blog](http://blog.haiguinet.com/more.asp?name=bodashitong&id=119) [blog](http://blog.itpub.net/post/3122/14325) [blog](http://blog.netandtv.com/blog/more.asp?name=bodashitong&id=4090) [blog](http://blog.qlsh.net/more.asp?name=bodashitong&id=1130) [blog](http://blog.soufun.com/blog/post/289_372817.htm) [blog](http://www.ucblog.com/more.asp_Q_name_E_bodashitong_A_id_E_7696) [blog](http://blog.zhinet.com/blog.asp?name=zhangboda) [blog](http://hk.netsh.com/eden/blog/ctl_eden_blog.php?ctlAct=get&ctlObj=blog_log&iLogID=10592) [blog](http://riji.163.com/weblog/page/1bodashitong) [blog](http://wen.ccp.org.cn/modules.php?name=Journal&file=display&jid=24) [blog](http://www.52blog.net/more.asp?name=bodashitong&id=108971) [blog](http://www.70blog.com/more.asp?name=bodashitong&id=8434) [blog](http://www.eedu.org.cn/blog/more.asp?name=bodashitong&id=930) [blog](http://www.blog.sh/more.asp?name=bodashitong&id=4381) [blog](http://www.blog8748.com/blog/more.asp?name=bodashitong&id=2419) [blog](http://www.blogerhome.com/more.asp?name=bodashitong&id=5537) [blog](http://www.visa.org.cn/blog/more.asp?id=352) [blog](http://blog.lawoy.com/bodashitong/archive/2005/01/17/1392.html) [blog](http://www.donews.net/bodashitong/archive/2005/01/18/245749.aspx) [blog](http://blog.xinanhui.com/more.asp?name=bodashitong&id=2077) [blog](http://www.ins.com.cn/blog/more.asp?id=314) [blog](http://www.kmcenter.org/blog/more.asp?name=bodashitong&id=807) [blog](http://218.78.246.60/yuwenonline/blog/more.asp?name=bodashitong&id=192) [blog](http://www.oioj.net/blog/blog.asp?name=bodashitong) [blog](http://blog.ourmm.com/more.asp?name=bodashitong&id=1490) [blog](http://www.tanqiu.com/blog/blog.asp?lid=4429) [blog](http://www.upda.cn/modules/weblog/details.php?blog_id=287) [blog](http://www.vi21.net/blog/more.asp?name=bodashitong&id=417) [blog](http://www.wuyouschool.com.cn/blog/more.asp?name=bodashitong&id=246) [blog](http://blog.116.com.cn/index.php?op=ViewArticle&articleId=12674&blogId=13128) [blog](http://www.cndazhou.net/oblog/more.asp?name=bodashitong&id=207) [blog](http://dili.wjstar.net/blog/more.asp?name=bodashitong&id=1552) [blog](http://herald.seu.edu.cn/blog/bodashitong/) [blog](http://www.blogcn.com/user26/bodashitong/index.html) [blog](http://bodashitong.bloglong.com/BlogCollection/MyBlog.aspx) [blog](http://www.zjut.com/blog/blog.asp?name=bodashitong1) [blog](http://bodashitong.yculblog.com/) [blog](http://blog.wangyou.com/id/1670937) [blog](http://www.qianqianjie.com/blog/more.asp?name=bodashitong&id=470) [blog](http://www.ublog.cn/index.asp?vt=byday&l_year=2005&l_month=1&l_day=17&cat_id=733&uid=726) [blog](http://61.133.84.157/blog/show.php?user_id=bodashitong) [blog](http://blogcup.com/read_bodashitong_24580.html)](http://xianshiping.0008888.com)