diff --git a/webapp/web/js/userMenu/userMenuUtils.js b/webapp/web/js/userMenu/userMenuUtils.js new file mode 100644 index 000000000..eab8ee714 --- /dev/null +++ b/webapp/web/js/userMenu/userMenuUtils.js @@ -0,0 +1,19 @@ +/* $This file is distributed under the terms of the license in /doc/license.txt$ */ + +$(function(){ + + $("ul.dropdown li").hover(function(){ + + $(this).addClass("hover"); + $('ul:first',this).css('visibility', 'visible'); + + }, function(){ + + $(this).removeClass("hover"); + $('ul:first',this).css('visibility', 'hidden'); + + }); + + $("ul.dropdown li ul li:has(ul)").find("a:first").append(" » "); + +}); \ No newline at end of file