summaryrefslogtreecommitdiff
path: root/min_selfservice/js/menu.js
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-10-02 12:48:24 -0400
committerChristopher Burger <burgerc@freeside.biz>2018-10-02 12:48:24 -0400
commitb22ecae7aaa96df5f0e70a5bea87ee42feaf7d30 (patch)
tree98b2cccb2a68e0deb860881eda6945e33390e2de /min_selfservice/js/menu.js
parentfac189e83181e7b099adc89ffe6f52fade62c7c6 (diff)
Revert "RT# 39340 - removed min_selfservice dir and merged into ng_selfservice"
This reverts commit 77baa7974ade41e55d85de22e7d7a54273dd442f.
Diffstat (limited to 'min_selfservice/js/menu.js')
-rw-r--r--min_selfservice/js/menu.js17
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();
+ }
+ });
+});