From 12a25a18d4ad44b3881f56ee81cb9917fb3379ee Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Tue, 2 Oct 2018 12:48:24 -0400 Subject: Revert "RT# 39340 - removed min_selfservice dir and merged into ng_selfservice" This reverts commit 77baa7974ade41e55d85de22e7d7a54273dd442f. --- min_selfservice/js/menu.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 min_selfservice/js/menu.js (limited to 'min_selfservice/js/menu.js') diff --git a/min_selfservice/js/menu.js b/min_selfservice/js/menu.js new file mode 100644 index 000000000..30e481621 --- /dev/null +++ b/min_selfservice/js/menu.js @@ -0,0 +1,17 @@ +$(document).ready(function() { + $('#menu_ul > li').hover(function(){ + $('a:first', this).addClass('hover'); + $('ul:first', this).show(); + if ($('.current_menu:first', this).length == 0) { + $('img[src*="dropdown_arrow_white"]', this).show(); + $('img[src*="dropdown_arrow_grey"]', this).hide(); + } + }, function(){ + $('ul:first', this).hide(); + $('a:first', this).removeClass('hover'); + if ($('.current_menu:first', this).length == 0) { + $('img[src*="dropdown_arrow_white"]', this).hide(); + $('img[src*="dropdown_arrow_grey"]', this).show(); + } + }); +}); -- cgit v1.2.1