Var $toolbar=jQuery (' # ToolBarDiv). LigerToolBar ({
ToolbarShowInLeft: false,
The items: [
{
Text: 'run', id: 'qs0yx, click: function () {//icon:' yx,
ChangeToolBtnBGC (enclosing id, 'qs0);
Var accStr=' ';
Var modL=yx. Length;
for (var i=0; i
Var CHD=yx [I]. Children;
Var chdL=CHD. Length;
For (var j=0; J & lt; ChdL; J++) {
If (CHD [j]. Journal of facility==jQuery (' # facility option: selected '). The val () | | CHD [j]. Journal of facility=="") {
If (CHD [j]. J type=='temp') {
AccStr +='& lt; A style="color: # 913830;" Href="javascript: f_addTab (\ 'doc_6_ + j + + I +' _ ', '\', \ '+ CHD [j]. Journal of text +' \ ', \ '+ CHD [j]. Journal of url +' \ ')" & gt; '+ CHD [j]. Journal of text +' & lt;/a> ';
} else if (CHD [j]. J type=='openwin') {
AccStr +='& lt; A style="color: # 243966;" Href="https://bbs.csdn.net/topics/#" onclick="window. The open (\ '+ CHD [j]. Journal of url +' \ ')" & gt; '+ CHD [j]. Journal of text +' & lt;/a> ';
} else if (CHD [j]. J type=='hr') {
AccStr +='& lt; A style="color: # 913830;" Href="javascript: transhr (\ 'doc_6_ + j + + I +' _ ', '\', \ '+ CHD [j]. Journal of text +' \ ', \ '+ CHD [j]. Journal of url +' \ ')" & gt; '+ CHD [j]. Journal of text +' & lt;/a> ';
} else {
AccStr +='& lt; A style="color: # 243966;" Href="javascript: f_addTab (\ 'doc_6_ + j + + I +' _ ', '\', \ '+ CHD [j]. Journal of text +' \ ', \ '+ CHD [j]. Journal of url +' \ ')" & gt; '+ CHD [j]. Journal of text +' & lt;/a> ';
}
}
}
AccStr +='& lt;/div> ';
}
JQuery (' # accordion1). Remove ();
JQuery (' # lm) append (' & lt; Div id="accordion1" & gt;