BBC NEWS | Health | Tree-lined streets 'cut asthma':: May 1, 2008 Therefore, if a tree-lined street encourages outside play, it might help reduce the risk of asthma by maximising the odds that children will http://news.bbc.co.uk/2/hi/health/7374078.stmHOME | This is the code I am trying to run
tree.on('click', function (node) { Art Fire Buy Handmade Sell Handmade Your Handmade Interactive :: By planting your tree you can help indigenous people save their land, communities and homes. Your click is like a small stone in a large ocean. http://www.artfire.com/modules.php?name=Together_We_GrowHOME | loading beakins great Mango Quest HELP SKIP cheat beakins beakins :: File Format: Shockwave FlashClick help if you need more instructions. HELP. Help Beakins climb to the top of the tree to reach the world’s largest mango. beakins great mango quest http://www2.gazetevatan.com/pics/oyunparki/swf/1_6629_26022007_1.swfHOME |
Ext.MessageBox.alert('Tree Clicked', node);
});
Trying to get it to give me the name of the node when I click on it. Help on Thomond and Family history:: The difference with Burke's is that I use hyperlinks to break up the tree, and to follow cross-references. Click on the names in bold to move up and down to http://humphrysfamilytree.com/help.htmlHOME |
In firefox, it works great and gives me the node number.
In IE, it always just says Tree Clicked = [ object Object ]
Any idea why this is, and how I get back the node number (or something unique to each node) on a click?
Thanks
Alerting node.id fixed it, thanks a million!
The ExtJS community is really helpful.
Node is an object, so what IE is doing is correct. Firefox must be defaulting the property it displays. You should try alerting node.id or some other property of TreeNode.
Nortel Unveils Vision, Strategy for Israeli High-Performance Net
Busy Friday Leads to Strong Close for Net Stocks
|