What are these Dynatree classes?

66 views
Skip to first unread message

reonyt...@gmail.com

unread,
Oct 9, 2014, 10:38:35 AM10/9/14
to dyna...@googlegroups.com

What are these two classes for:

  • dynatree-ico-ef
  • dynatree-exp-e

I read in the docs that they’re “combinedIconPrefix:” and “combinedExpanderPrefix:”. There are others like this too, but I don’t quite get it. Thanks. 

mar10

unread,
Oct 9, 2014, 3:08:42 PM10/9/14
to dyna...@googlegroups.com, reonyt...@gmail.com
From the CSS file:

/*******************************************************************************
 * Expander icon
 * Note: IE6 doesn't correctly evaluate multiples class names,
 *       so we create combined class names that can be used in the CSS.
 *
 * Prefix: dynatree-exp-
 * 1st character: 'e': expanded, 'c': collapsed
 * 2nd character (optional): 'd': lazy (Delayed)
 * 3rd character (optional): 'l': Last sibling
 */
For example:
.dynatree-exp-cl span.dynatree-expander /* Collapsed, not delayed, last sibling */
.dynatree-exp-cd span.dynatree-expander /* Collapsed, delayed, not last sibling */
.dynatree-exp-cdl span.dynatree-expander /* Collapsed, delayed, last sibling */
.dynatree-exp-e span.dynatree-expander,  /* Expanded, not delayed, not last sibling */
.dynatree-exp-ed span.dynatree-expander  /* Expanded, delayed, not last sibling */
.dynatree-exp-el span.dynatree-expander,  /* Expanded, not delayed, last sibling */
.dynatree-exp-edl span.dynatree-expander  /* Expanded, delayed, last sibling */
.dynatree-loading span.dynatree-expander  /* 'Loading' status overrides all others */
And
/*******************************************************************************
 * Node type icon
 * Note: IE6 doesn't correctly evaluate multiples class names,
 *               so we create combined class names that can be used in the CSS.
 *
 * Prefix: dynatree-ico-
 * 1st character: 'e': expanded, 'c': collapsed
 * 2nd character (optional): 'f': folder
 */

for example
.dynatree-ico-cf span.dynatree-icon  /* Collapsed Folder */
.dynatree-ico-ef span.dynatree-icon  /* Expanded Folder */


reonyt...@gmail.com

unread,
Oct 9, 2014, 3:13:02 PM10/9/14
to dyna...@googlegroups.com, reonyt...@gmail.com
Awesome thank you! No longer need to worry about those then since we're only supporting IE 9+

mar10

unread,
Oct 9, 2014, 3:24:30 PM10/9/14
to dyna...@googlegroups.com, reonyt...@gmail.com
I guess you still have to consider them, as long as Dynatree uses them for the skin styling.
(I may replace them with modern combined classes in a future version of Fancytree however)
Reply all
Reply to author
Forward
0 new messages