Hi James,if that's the complete code, where is your treediv element in the body and where is your opening body tag?
Without that it won't work :-)
Regards, Helmut Am 29.03.2007 um 23:38 schrieb James Cicenia:
Hello -I have been wracking my brain on why I am getting no output on this simple YUI test of mine:Anything stand out to anyone? - James Cicenia <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE>Portfolio Intelligence // 3 Olive Solutions</TITLE><script type="text/javascript" src="http://10.0.1.2:8888/tos/yui/ build/treeview/treeview-debug.js"></script> <link rel="stylesheet" type="text/css" href="http://10.0.1.2:8888/ tos/yui/build/treeview/css/code.css"></link> <link rel="stylesheet" type="text/css" href="http://10.0.1.2:8888/ tos/yui/build/treeview/css/folders/tree.css"></link> <script type="text/javascript" src="http://10.0.1.2:8888/tos/yui/ build/yahoo/yahoo.js"></script> <script type="text/javascript" src="http://10.0.1.2:8888/tos/yui/ build/event/event.js"></script><style type="text/css"> #treewrapper {position:relative;} #treediv {position:relative; width:250px;}#figure1 {float:right;background-color:#FFFCE9;padding:1em;border: 1px solid grey} .icon-ppt { padding-left: 20px; background: transparent url(http:// 10.0.1.2:8888/tos/yui/build/treeview/img/icons.png) 0 0px no-repeat; } .icon-dmg { padding-left: 20px; background: transparent url(http:// 10.0.1.2:8888/tos/yui/build/treeview/img/icons.png) 0 -36px no- repeat; } .icon-prv { padding-left: 20px; background: transparent url(http:// 10.0.1.2:8888/tos/yui/build/treeview/img/icons.png) 0 -72px no- repeat; } .icon-gen { padding-left: 20px; background: transparent url(http:// 10.0.1.2:8888/tos/yui/build/treeview/img/icons.png) 0 -108px no- repeat; } .icon-doc { padding-left: 20px; background: transparent url(http:// 10.0.1.2:8888/tos/yui/build/treeview/img/icons.png) 0 -144px no- repeat; } .icon-jar { padding-left: 20px; background: transparent url(http:// 10.0.1.2:8888/tos/yui/build/treeview/img/icons.png) 0 -180px no- repeat; } .icon-zip { padding-left: 20px; background: transparent url(http:// 10.0.1.2:8888/tos/yui/build/treeview/img/icons.png) 0 -216px no- repeat; }</style> </HEAD><body topmargin="0" leftmargin="0" marginwidth="0" bgcolor="#FEFEFE" marginheight="0"><script> (function(){ var init = function() { //create the TreeView instance: var tree = new YAHOO.widget.TreeView("treediv"); //get a reusable reference to the root node: var root = tree.getRoot();var 215426= new YAHOO.widget.HTMLNode("my test", root, false, true);215426.labelStyle = "icon-gen"; var 215425= new YAHOO.widget.TextNode("test", root, true); tree.draw(); } YAHOO.util.Event.on(window, "load", init); })(); </script> </body> </HTML> _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription:http://lists.apple.com/mailman/options/webobjects-dev/ helmut.schottmueller%40mac.comThis email sent to [EMAIL PROTECTED]
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
