Ericsson - 2008-6-21 14:28:00
看了官方论坛上面的帖子,没有一个是说全的。有的甚至改起来麻烦!!而且问题不断。
本人看了一些,把自己的方法贴出来。。。希望能抛砖引玉,有什么好东西大家出来分享。本人用的是记事本,(没有注意行号
)
简单方法:定义不要的,去掉后缀。写上“0”。搞定:default6:
首先,改文件的位置不用说了。
打开NS_Public:
找到:
“
'DIV输出_____________________________________________________________________
'得到div,table_________________________________________________________________________________
Public Function table_str_list_head(f_tf,f_divid,f_divclass,f_ulid,f_ulclass)
Dim table_,tr_
Dim f_divid_1,f_divclass_1,f_ulid_1,f_ulclass_1
”
修改如下:
“
'DIV输出_____________________________________________________________________
'得到div,table_________________________________________________________________________________
Public Function table_str_list_head(f_tf,f_divid,f_divclass,f_ulid,f_ulclass)
Dim table_,tr_
Dim f_divid_1,f_divclass_1,f_ulid_1,f_ulclass_1
Dim nodiv
”
然后把:
“
'得到div,table_________________________________________________________________________________
Public Function table_str_list_bottom(f_tf)
Dim table__,tr__
if f_tf=1 then
table__="</div>"
tr__="</ul>"
table_str_list_bottom = " "&tr__&vbNewLine
”
修改成:
“
'得到div,table_________________________________________________________________________________
Public Function table_str_list_bottom(f_tf)
Dim table__,tr__
if f_tf=1 then
table__=""
tr__="</ul>"
table_str_list_bottom = " "&tr__&vbNewLine
”
完毕,这样你在选着DIV+CSS的输出方式的时候,不需要DIV,只需要将ID和CLASS都写成“0”就OK了。本人测试可以用。
UL 应该不用去的!!应为无序列表就需要UL,符合规范嘛,如果想去掉也简单方法同上:
定义noul
然后找到上面的“</ul>”把它删除,选择模型的时候在UL的ID和Class上面写“0”。
OK !!搞定。。
Ericsson - 2008-6-21 14:31:00
还是自己顶吧。
wjcreator - 2008-6-21 14:47:00
:default7: :default7: :default7:
sicend - 2008-6-23 22:54:00
论坛上早有朋友发过的。
tengjq - 2008-6-28 15:50:00
论坛上有朋友发过的,不过说的不详细,没有告诉具体的修改方法,谢谢楼主!