RT# 78952 CDR Import for Acme Packet Improved caller-id parsing
[freeside.git] / min_selfservice / js / menu.js
1 $(document).ready(function() {
2         $('#menu_ul > li').hover(function(){
3                 $('a:first', this).addClass('hover');
4                 $('ul:first', this).show();
5                 if ($('.current_menu:first', this).length == 0) {
6                         $('img[src*="dropdown_arrow_white"]', this).show();
7                         $('img[src*="dropdown_arrow_grey"]', this).hide();
8                 }
9         }, function(){
10                 $('ul:first', this).hide();
11                 $('a:first', this).removeClass('hover');
12                 if ($('.current_menu:first', this).length == 0) {
13                         $('img[src*="dropdown_arrow_white"]', this).hide();
14                         $('img[src*="dropdown_arrow_grey"]', this).show();
15                 }
16         });
17 });