var tmpNode4 = new YAHOO.widget.MenuNode(" ", tmpNode3, false);
var tmpNode4 = new YAHOO.widget.MenuNode(" ", tmpNode3, false);
var tmpNode4 = new YAHOO.widget.MenuNode(" ", tmpNode3, false);
var tmpNode3 = new YAHOO.widget.MenuNode("Серийные прошивки", tmpNode2, false);
var tmpNode2 = new YAHOO.widget.MenuNode("Прошивки ВАЗ", tmpNode1, false);
var tmpNode1 = new YAHOO.widget.MenuNode("Прошивки", tree.getRoot(), false);
var tmpNode1 = new YAHOO.widget.MenuNode(" ", tree.getRoot(), false);
// var tmpNode0 = new YAHOO.widget.MenuNode("Меню", tree.getRoot(), true);
tree = new YAHOO.widget.TreeView("treeDiv1");
function buildTextNodeTree() {
YAHOO.util.Event.preventDefault(e);
YAHOO.log("Collapsing all TreeView nodes.", "info", "example");
YAHOO.util.Event.on("collapse", "click", function(e) {
//handler for collapsing all nodes
//Hand off ot a method that randomly generates tree nodes:
YAHOO.log("Example's treeInit function firing.", "info", "example");
var tree; //will hold our TreeView instance
//in function scope rather than in the global namespace:
//an anonymous function wraps our code to keep our variables
CHIPTUNER.RU - Обзор. ЗАЗ-1103380 "Славута"
Комментариев нет:
Отправить комментарий