-
-
Notifications
You must be signed in to change notification settings - Fork 607
ExtWide
About Fancytree 'wide' extension.
- Status: experimental
- example
Stretch the selection bar to 100% of the container width.
This is done by stretching the title <span>
accross the left <ul>
limit.
We add then a padding-left to the title to adjust for level indentation.
NOTE The 'skin-win8-n' and 'skin-bootstrap-n' skins use the node <span>
for highlighting, which also results in a wide selection bar, but with a left
indentation per level. However these variants don't require - or even work with -
the ext-wide plugin.
-
iconWidth, type: {string}, optional, default: guess from css (typically "16px")
Width of one single icon, e.g. '1em' or '32px'. Used to calculate the title indentation. -
iconSpacing, type: {string}, optional, default: guess from css (typically "3px")
Width of margin between two icons, or right icon and title. Used to calculate the title indentation. -
levelOfs, type: {string}, optional, default: guess from css (typically "16px")
Indentation per level. Used to calculate the title indentation.
(n.a.)
(n.a.)
In addition to jQuery, jQuery UI, and Fancytree, include jquery.fancytree.wide.js
:
<script src="//code.jquery.com/jquery-1.11.1.min.js" type="text/javascript"></script>
<script src="//code.jquery.com/ui/1.11.2/jquery-ui.min.js" type="text/javascript"></script>
<link href="skin-win7/ui.fancytree.css" rel="stylesheet" type="text/css">
<script src="js/jquery.fancytree.js" type="text/javascript"></script>
<script src="js/jquery.fancytree.wide.js" type="text/javascript"></script>
$("#tree").fancytree({
extensions: ["wide"],
wide: {
},
...
});
# Recipes
##### [Howto] ...
Documentation Home - Project Page - Copyright (c) 2008-2022, Martin Wendt (https://wwWendt.de)