Last post Jul 30, 2006 12:59 PM by Dman100
Jul 25, 2006 05:50 PM|Dman100|LINK
I'm trying to figure out how to style the following node using the adapters for a treeview:
Services (Parent node)
>> Customer Service (Parent node within Service node)
>> Implementation Services (Leaf node)
>> Annual Support Plans (Leaf node)
>> More Options (Leaf node)
>> Professional Development (Leaf node within Service node)
What I'm trying to do is style the Leaf node the same as the parent node within the Services Parent node. So, 'customer service' has the same style as 'professional development'
I have the following styles:
.PrettyTree div.AspNet-TreeView li.AspNet-TreeView-Parent
border-top: solid 1px #FFFFFF;
border-bottom: solid 1px #FFFFFF;
margin:0 0 0 0;
li.AspNet-TreeView-Parent a:link, li.AspNet-TreeView-Parent a:visited
li.AspNet-TreeView-Parent a:hover, li.AspNet-TreeView-Parent a:active
.PrettyTree div.AspNet-TreeView li.AspNet-TreeView-Leaf
padding:5px 0 5px 20px;
Thanks for any help.
Jul 25, 2006 10:54 PM|Russ Helfand|LINK
Jul 27, 2006 03:09 PM|Dman100|LINK
Sorry for the delayed response.
Here is a test page I'm working on:
The site is not live, so in order to view the page you'll need to add the following entry in your host file and stop and restart the DNS client under Services in the Control Panel.
Here is how I'm trying to style the treeview:
Notice the Technology node or leaf:
I'd like to indent Delivery Models to show that it is a child section, but maintain the full width.
Then I want to indent the nodes underneath Delivery Model...i.e. Odyssey Subscription, Odyssey Hosted, Odyssey Enterprise
On the Services node or leaf:
I want to include Professional Development as part of the blue background to indicate it is a child leaf of Services in the same hierarchy as Customer Service.
I want the same indentation as well.
Thanks for your help. I like the way these adapters work. Pretty cool.
Jul 28, 2006 10:08 AM|Dman100|LINK
Jul 30, 2006 12:59 PM|Dman100|LINK
Is the way I wanted to style the treeview menu not possible, or is there problems viewing the page?