summaryrefslogtreecommitdiff
path: root/ng_selfservice/js/menu.js
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-07-02 11:53:40 -0700
committerIvan Kohler <ivan@freeside.biz>2013-07-02 11:53:40 -0700
commita563de5fc2f42abf16fbcfda7cf5bc5f1ce794e7 (patch)
tree21ed995983a9ef1f51055c8e4c6c6300863c5c66 /ng_selfservice/js/menu.js
parent93f2d729dcc5c1bbf424a61ee49b985a4e3ed1d6 (diff)
selfservice, TNG, RT#22193
Diffstat (limited to 'ng_selfservice/js/menu.js')
-rw-r--r--ng_selfservice/js/menu.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/ng_selfservice/js/menu.js b/ng_selfservice/js/menu.js
new file mode 100644
index 0000000..30e4816
--- /dev/null
+++ b/ng_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();
+ }
+ });
+});