javascript - jstree - one tree in different pages -
i have short question jstree (jstree.com)
i use 1 instance of tree in different pages save current tree status "stage property"
for example. have follow pages have there own content.
index.htm example1.htm example2.htm impressum.htm
now build navigation jstree. when click @ link called page open , can use "same" jstree instance. not define new tree in each site. possible?
thank you
felix
move common code script file , include on each of pages. make sure enable state
plugin (in jstree config) persist opened/selected nodes across reloads.
Comments
Post a Comment