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

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -