http://www.pearl-sh.com/php/admin/treeImage/tree_tplus.gif ";} Document.all (" B " ID) .SRC =" http://www.pearl-sh.com/ PHP / Admin / TreeImage / Clsfld.gif ";}} /// If there is a URL IF (URL! =") {if (target == ") {window.open (URL);} else {ix == "PARENT") {if (confirm ("OK")) {parent.location.href = url;}} else {parent.mainframe.location.href = url;}}}
} / ******************************************************* ***** function: javascript tree menu *********************** unlimited level of: peter ********** ************************ Email: cztianyu@hotmail.com ******************* ****** Release date: 2004-12-15 *************************************************************** Download address: http: // www .lcsww.com / Download / Index.asp ******************************************************************************************************************* *********************************************************** * / Function AddItem (PID, TextName, NID, URL, TARGET, PIC, ISP) {
// Judgment is not presented // alt minus one document.all (pid) .alt = evAl (Eval (docualent.all (pid) .alt) -1); // Parent Node alt value var iso = document.all ( PID) .ISO Document.all (PID) .alt ";"; // Var thebgcolor = "; var table ="; table = table "
"; / / Paint | Line VAR K = 0; for (k = 0; k http://www.pearl-sh.com/php/admin/treeImage/tree_l.gif/ "ID = /" a " NID " / ">";} else {Table = Table " "; Table = Table TextName; Table = Table " TD> "; Table = Table " TR> "; Table = Table " Table> "; Table = Table div> | |