My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 279 attachment: dynatree.settings.js (733 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
Adding dynatree settings to the selected menus
*/

(function ($) {


//menus to add the script to
var menus = settings.dynatreeMenus;

$.each(menus, function (index, value) {
$(value).dynatree({
persist:true,
cookie:{
path:"/"
},
onActivate:function (node) {
// Use <a> href and target attributes to load the content:
if (node.data.href) {
window.open(node.data.href, '_self');
}

}

});
});




}(jQuery));
Powered by Google Project Hosting