[ { text: 1. pre lunch (120 min), expanded: true, classes: important, children: [ { text: 1.1 the state of the powerdome (30 min) }, { text: 1.2 the future of jquery (30 min) }, { text: 1.2 jquery ui - a step to richnessy (60 min) } ] }, { text: 2. lunch (60 min) }, { text: 3. after lunch (120+ min), children: [ { text: 3.1 jquery calendar success story (20 min) }, { text: 3.2 jquery and ruby web frameworks (20 min) }, { text: 3.3 hey, i can do that! (20 min) }, { text: 3.4 taconite and form (20 min) }, { text: 3.5 server-side javascript with jquery and aolserver (20 min) }, { text: 3.6 the onion: how to add features without adding features (20 min), id: 36, haschildren: true }, { text: 3.7 visualizations with javascript and canvas (20 min) }, { text: 3.8 activedom (20 min) }, { text: 3.8 growing jquery (20 min) } ] }][ { text: 1. review of existing structures, expanded: true, children: [ { text: 1.1 jquery core }, { text: 1.2 metaplugins } ] }, { text: 2. wrapper plugins }, { text: 3. summary }, { text: 4. questions and answers } ]
回复讨论(解决方案) 中间的才是php代码
其余的是个json格式字符串
似乎在拼凑json的数据
我好想知道蹭的那些是什么代码 是 javascript 吗?
这基本不是php
整个文件绝大部分是json
这个符号里面的才是php,你这是php嵌入到json中,php起判断作用
如果传root参数
生成一个json数据
否则小睡会生成另一个json数据
这个json数据会有别的js去处理的
脱离上下文,这是一段毫无意义的代码
这难道不是一份表格?
好吧,我是初学者= =