Dynatree Modification

159 views
Skip to first unread message

Adam

unread,
Sep 2, 2012, 5:42:16 AM9/2/12
to dyna...@googlegroups.com
Hi, 

I'm using the standard Dynatree plugin but need some assistance customising the look. I've attached a rough mock-up of how I want it to look but could only achieve about 50% of it myself through CSS alone. I wonder if the jQuery needs altering?

Basic requirement other than the visual element are:
:: Accordion style so only on main category can be expanded at one time.
:: Only one sub category can be selected (no multiple selection - it does this for me already).
:: Change background colour on hover for sub categories.
:: Change background colour when sub category has been selected.

If you are interested please contact me and we can discuses further.

Regards
Adam 
Assignments-201590816-AttachedDocument.jpg

Qaiser Naeem

unread,
Sep 3, 2012, 3:09:07 AM9/3/12
to dyna...@googlegroups.com
Hi

it would be helping for us to understand if you attach you code, i dnt think that you need to modify the jquery for this stuff, you have already done with multiple selection bu seting mode:1 (good), if you go on css and in hover section just define background color whatever you want,

ul.dynatree-container span.td {
     position: absolute;
     display: inline;
     border-size: 1px;
     overflow: hidden;
     background-color: white;
    
  }

and for your last point

youo need to define your desire color in css for dynatree title element, if you are using default options then its must be green on selection,


thanks

Adam 

--
You received this message because you are subscribed to the Google Groups "Discuss jquery.dynatree.js" group.
To post to this group, send email to dyna...@googlegroups.com.
To unsubscribe from this group, send email to dynatree+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/dynatree/-/j3gb8SVAZHsJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Qaiser Naeem
System Developer
COMAEA, Stockholm
+47 (0) 704-857-979
+47 (0) 723-219-875

Reply all
Reply to author
Forward
0 new messages