diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2018-10-02 14:38:38 -0400 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2018-10-02 14:38:38 -0400 |
| commit | 529ec19487d625e011fd899da3d88af63c9668ca (patch) | |
| tree | d9af30916690626495f43af131ae3778bbbb564b /min_selfservice/js/menu.js | |
| parent | 37f031964f85869839da8145f3179141a2933843 (diff) | |
Revert "RT# 39340 - removed min_selfservice dir and merged into ng_selfservice"
This reverts commit f4ad9107585d16317bb15bf3223fe8b8eeeeb82c.
Diffstat (limited to 'min_selfservice/js/menu.js')
| -rw-r--r-- | min_selfservice/js/menu.js | 17 |
1 files changed, 17 insertions, 0 deletions
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(); + } + }); +}); |
