NOTES:
type_attr cannot be 'class'
opera bug (event.pageY) when dragging and scrolling
Firefox 2 slows down when too many nested nodes (over 10 levels) (because of floated "a")
xml_flat in async mode - do not set parent_id
onopen callback in async mode is fired AFTER the content has loaded and displayed
TODO:
FEAT: multitree accept from/send to rules; both trees should be enabled
FEAT: dragrules "!"
FEAT: native undo/redo (Rafi B)
DOCS: background customization
DOCS: examples & functions
CHANGELOG:
v.0.9.1
various minor bugs fixed & optimizations
create function now accepts value & icon for the newly created node
v.0.9
multitree drag & drop - now the receiving tree's dragrules are respected
multitree language cleanup
added instance manager & focusInst function - tree_component.inst & tree_component.focusInst()
fixed get_left, get_right in RTL mode
v.0.8.2
get_* functions receive a "force" argument that selects the node even if hover_mode is on
create function enhancement - can pass a node to create in (by anotherhero)
remove function enhancement - can pass a node to delete (by anotherhero)
fixed drag position in IE (by Nuno Mota)
fixed multitree drag rules check against origin tree (by bogdan)
rename function fix (when ESC is used) (by bogdan)
#marker z-index is now higher (by bogdan)
fixed get_json function (an attrib array can now be passed, icon fix) (by bogdan)
get_left, get_right functions fixed to match explorer functions' behavious (by bogdan)
implemented drag-to-copy - changes the default behaviour from drag to copy, to activate:
- set settings.rules.drag_copy to "ctrl" and drop the dragged nodes with the ctrlKey down
- set settings.rules.drag_copy to "on"
v.0.8.1
fixed renaming bug (by anotherhero)
fixed #marker bug (by anotherhero)
v.0.8
onload callback - fired when:
- the tree is loaded for the first time
- the tree or a node is refreshed
* in dragrules
refreshing a single node is possible (in async mode)
passed json can now be an object, not an array of objects (by Marius Bratu)
onchange called in deselect_branch (by jstreeuser)
id is urlencoded (by Arjan Haverkamp)
v.0.7.1
fixed create bug in async mode (by William)
create function returns the created node (by Nuno Mota)
fixed bug when dropped node did not open branch in async mode (by William)
fixed bug when passing empty array as children (by William)
fixed async xml loading (empty array && recursion problem)
fixed leaf bug (by Nuno Mota)
fixed inside moving to respect the createat rule
v.0.7
native async loading
added lock() function to lock/unlock the tree
added language customization for standard strings
hover_mode option added (for changing hover state with keyboard)
options object refactoring
fixed bug with closing parent of selected if parent is selected (multiple - on)
multiple added (can now be always on - no need for holding Ctrl)
onrgtclk callback added (See commented code on how to prevent default)
fixed bug where Ctrl+clicking selected node did not deselect the node
removed optional XML structure for single language
Google Code issues (typos) (by peter.kalvin)
v.0.6.5
tree now allows for some node sizing (see demo)
fixed bug when created nodes did not have the leaf class (by addwin)
optimized rtl position and images
can now change
fixed changing focus when closing focused node (by Karf)
fixed before- callbacks parameters (by Colin)
fixed dragging position (by Karf)
returned optional path parameter (by Karf)
added ondblclk callback, which defaults to toggle and then select node (by Arno)
tree object is passed as final argument in every callback
v.0.6.0.1
removed bug with switched beforemove/beforecreate callbacks (by Colin)
fixed mistake with mov / TYPE (by newuni)
v.0.6
added drag & drop between trees with correct marker placement
optimized jQuery selectors
added cut/copy/paste + oncopy callback
added error callback - attach custom function to errors
added multiple selection with move & delete
added getJSON - return the tree as an object
added before handlers
optimized css, added 'leaf' class
added basic rtl support (user opinions?)
added cookie support with definable prefix and options - default is false
added if selected node is within closed parent - select parent
added CSS solution when dragging large sets - all inner nodes are closed while dragging
added solid background color option (not white) - set background color on "li.last", ".tree"
added animation support (slideUp/slideDown) - specify duration (disabled for msie 6 - slow)
updated listen plugin
updated sarissa
added insertAt option for creating nodes ('top' or 'bottom')
v.0.5
current language is passed when renaming
added onbeforechange callback
'data' can be JSON and none (only events attached to structure)
Opera comaptible
scroll node into view when node selected
scroll container while dragging and mouse is near the edge
'remove' function
rules and rule checking reinvented (added inline_rules, max_depth, max_children, valid_children, renameable)
dots are optional ('toggleDots' function, '.no_dots' classname)
various optimizations
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
jsTree.v.0.9.1.rar (78个子文件)
_lib
jquery.js 54KB
jquery.xslt.js 12KB
sarissa.js 20KB
jquery.log.js 453B
jquery.hotkeys.js 5KB
jquery.listen.js 3KB
sarissa_ieemu_xpath.js 3KB
jquery.cookie.js 4KB
jquery.metadata.js 4KB
_all.js 89KB
css.js 1KB
jsTree
documentation
prettify.js 37KB
index.html 29KB
prettify.css 2KB
changelog.txt 5KB
examples
menu.html 2KB
bubble.js 434B
images
h.png 3KB
folder.png 589B
f.png 3KB
fc.png 3KB
folder2.png 1KB
hd.png 681B
folder_o.png 640B
trash.png 810B
file.png 3KB
globe.png 3KB
folder1.png 1KB
folder_c.png 653B
locked.png 783B
_callback
index.html 6KB
_opers
moving.html 4KB
flat.xml 747B
rename.html 4KB
select.html 4KB
create.html 5KB
delete.html 4KB
index.html 286B
_cust
flat.xml 683B
index.html 5KB
demo.html 584B
_extra
multitree.html 3KB
flat.xml 1KB
flat1.xml 683B
cookie.html 4KB
flat2.xml 900B
metadata.html 5KB
multiple.html 3KB
_data
ajson.php 855B
ajson2.php 855B
json.txt 817B
nested.xml 680B
flat.xml 512B
phtml.html 4KB
json1.html 3KB
xml_n.html 3KB
json2.html 2KB
xml_f.html 3KB
async.html 3KB
langs.html 3KB
style.css 1KB
source
images
marker_rtl.gif 62B
li.gif 47B
fplus.gif 108B
fminus.gif 60B
fminus_rtl.gif 59B
dot.gif 43B
fplus_rtl.gif 108B
marker.gif 61B
plus.gif 52B
remove.png 720B
throbber.gif 2KB
lastli.gif 55B
lastli_rtl.gif 54B
tree_component.css 4KB
tree_component.js 53KB
flat.xsl 2KB
nested.xsl 2KB
共 78 条
- 1
资源评论
freeznat2001
- 粉丝: 1
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功