js编写的treeview使用方法(2)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script type="text/javascript" language="javascript"> var LEFT_MENU_VIEW=1; function leftmenu_ctrl() { if(LEFT_MENU_VIEW==0) { parent.tree_frm.cols="250,10,*"; LEFT_MENU_VIEW=1; myarrow.src="https://www.jb51.net/ESM/Resources/Images/topleft.gif"; //左箭头 } else { parent.tree_frm.cols="0,10,*"; LEFT_MENU_VIEW=0; myarrow.src="/ESM/Resources/Images/topright.gif"; //右箭头 } } </script> </head> <body> <div> <div title="隐藏工具栏"><img src="https://www.jb51.net/ESM/Resources/Images/topleft.gif" alt="" /></div> </div> </body> </html>

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wzzxxj.html