diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2018-09-13 10:51:01 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2018-09-13 10:51:01 -0700 |
| commit | 6383208b0f004ddcb26c74788595dce6673863f8 (patch) | |
| tree | 98a9d8902e707bb63f25154fdf84d1b146fd2004 /min_selfservice/js/menu.js | |
| parent | 24fcbda43464e5ee5a342a52f6c5780e12693402 (diff) | |
| parent | bc552f2fba7fd376a2f036a7dc02b58a48fa31b0 (diff) | |
Merge branch 'FREESIDE_4_BRANCH' of git.freeside.biz:/home/git/freeside into FREESIDE_4_BRANCH
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(); + } + }); +}); |
