TreeView (Extension XmlselTree) Visualsw is based on XML, JavaScript TreeView.
}
Else
{
Readnode (Element.childNodes [i], s_text, s_value, op);
}
}
}
Else
{
//Alert (Element.getattribute ("checkdata) element.getattribute (" checked ");" checkdata ");
IF (("Title" == s_text) && (Element.getaTribute ("checkdata) == s_value))
{
Switch (OP)
{
Case "Add":
Var newNode = Oxmldom.createnode (1, "Treenode", "");
NewNode.setttribute ("Title", IPT_TITLE.VALUE);
NewNode.setttribute ("Checkdata", "000");
NewNode.setttribute ("CHK", "True");
Element.Appendchild (NewNode);
Break;
Case "modify":
Element.setttribute ("Title", IPT_TITLE.VALUE);
Element.setttribute ("CAPTION", IPT_CAPTION.VALUE);
Break;
Case "delete":
Element.parentNode.RemoveChild (Element);
Break;
DEFAULT:
Break;
}
}
}
}
/ *
============================================================================================================================================================================================================= ====================
JavaScript mouse-mouse
Author: Shen Wang
date:
2004/05/13
note:
============================================================================================================================================================================================================= ==================== * /
VAR style;
Style = "