true. As a plus you shouldnt do this because you are not allowing users to use keyboard with your tree component. If i were you i would do the same thing you do onmouseenter on focus and the same for mouseleave/blur. This would make it friendly for keyboard users.
-- Fábio Miranda Costa Solucione Sistemas Engenheiro de interfaces On Sat, Dec 12, 2009 at 5:29 PM, g.schlmm <[email protected]> wrote: > On 12/12/2009 08:31 PM, Fli7e wrote: > >> myTree.addEvent('focus', function(){ if(myTree.blur) myTree.blur(); }); >>> >>> Why are you doing this? >>> >> >> i do this to prevent the ugly outlines when you click on an anchor. >> > > you can also define > outline: 0; > in your css >
