From f17c3f4acb20b02308c280347586737f21de74c5 Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Tue, 16 Jan 2018 12:14:54 -0500 Subject: RT# 39340 - Created minimal selfservice that only allows payments to be made, authorization is based on ip and mac address. This is not done yet need to write routine to get mac address from radius server based on ip address. --- 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