Hi,
Using APEX v5.1.2 with UT and reading through the forum, i.e.: How to implement tooltips on Side Navigation Menu List icons
I'm using the following code within my Global page as a DA - Page load:
if (!$("div.t-Header-controls :button").hasClass("is-active")){
$("#t_TreeNav").treeView("option", "tooltip", {
content: function(cb, node) {
return node.label;
}
});
$("#t_TreeNav").tooltip("option", "items", ".a-TreeView-content");
} else {
$("#t_TreeNav").treeView("option", "tooltip", {
content: function(cb, node) {
return null;
}
});
$("#t_TreeNav").tooltip("option", "items", ".a-TreeView-content");
}
but unfortunately am receiving the following JS error:
Uncaught TypeError: $(...).treeView is not a function
at Object.javascriptFunction (f:248)
at Object.da.doAction (desktop.min.js:18)
at Object.da.doActions (desktop.min.js:18)
at HTMLDivElement.<anonymous> (desktop.min.js:18)
at Function.each (jquery-2.2.3.min.js:2)
at a.fn.init.each (jquery-2.2.3.min.js:2)
at Object.da.actions (desktop.min.js:18)
at Object.<anonymous> (desktop.min.js:18)
at Function.each (jquery-2.2.3.min.js:2)
at a.fn.init.each (jquery-2.2.3.min.js:2)
Can anyone pls assist?
Thanks.
Tony.