Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to add tooltip on side navigation menu?

ThiliBuSep 29 2015 — edited Nov 19 2015

Hi,

I want to add tooltip on the side navigation menu(Main menus and sub menus) and on the menu items as shown below.

Capture.PNG

I tried to do this using add following javascript code in to a static application file.

$(document).ready(function(){

        $("#t\_TreeNav").on("treeviewselectionchange", function() {

$(this).treeView("expand", $(this).treeView("getSelection"));

        });

        $('#t\_TreeNav').find('li.a-TreeView-node > div.a-TreeView-content').each(function( index ) {

$(this).find('span').prop('title', $(this).find('span').text());

});

});

Then add that file on shared components -> UI attributes -> User Interface -> under the JavaScript File URLs add the static application file reference.

But i only works for some menus.It didn't work on sub menus and menu items.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 10 2015
Added on Sep 29 2015
4 comments
1,418 views