Home - Forums-.NET - FlyTreeView (ASP.NET) - Change cursor on FlyTreeNode

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

This forum related to following products: FlyTreeView for ASP.NET

Change cursor on FlyTreeNode
Link Posted: 15-Nov-2006 00:12
I want to change cursor while hover over node...
the hoverstyle property doesn't seem to work with cursor, background-color and font-weight works ok...
My code...

.standardTreeNodeHover
{
  cursor:hand;
  font-weight:bold;
  background-color:#e8f1f8;
  filter:alpha(opacity=50);
  opacity:0.5;
}

what have I done wrong?
Link Posted: 15-Nov-2006 01:25
[quote="Jesse_swe"]I want to change cursor while hover over node...
the hoverstyle property doesn't seem to work with cursor, background-color and font-weight works ok...
My code...

.standardTreeNodeHover
{
  cursor:hand;
  font-weight:bold;
  background-color:#e8f1f8;
  filter:alpha(opacity=50);
  opacity:0.5;
}

what have I done wrong?


Hi Jesse_swe,
with "cursor:pointer;" it should do, what you want.


.standardTreeNodeHover
{
  cursor:pointer;
  font-weight:bold;
  background-color:#e8f1f8;
  filter:alpha(opacity=50);
  opacity:0.5;
}


regards,
martin
Link Posted: 15-Nov-2006 03:10
Why not to simply set default style property:


    
Link Posted: 15-Nov-2006 21:46
[quote="EvgenyT"]Why not to simply set default style property:


    


Thanks, that worked, I thought that cursor in DefaultStyle would change the cursor over the whole tree, thats why I didn't use it.