Skip to content
Martin Wendt edited this page Apr 4, 2014 · 18 revisions

About initializing Fancytree and implementing lazy loading.

Recipes

[Howto] Change the checkbox icons

TODO: update this for fancytree markup:

<head>
<style type="text/css">
#tree.pinCheckboxes span.dynatree-checkbox {
   background-position: 0 0;
   background-image: url("../app/img/pin_16x16_up.png");
}
#tree.pinCheckboxes span.dynatree-selected span.dynatree-checkbox {
   background-image: url("../app/img/pin_16x16_down.png");
}
#tree.pinCheckboxes span.dynatree-checkbox:hover {
   background-image: url("../app/img/pin_16x16_up_hover.png");
}
#tree.pinCheckboxes span.dynatree-selected span.dynatree-checkbox:hover {
   background-image: url("../app/img/pin_16x16_down_hover.png");
}
</style>
</head>

<body>
    ...
    <div id="tree" class="pinCheckboxes">
    </div>
</body>
Clone this wiki locally