fixing account box dropdown

This commit is contained in:
Ricardo Rauch 2011-11-10 18:55:55 -03:00
parent ff0dc87e3d
commit 56e449df50
2 changed files with 37 additions and 11 deletions

View file

@ -19,8 +19,20 @@ $(function(){
$('select#branch').selectmenu({style:'popup', width:200});
$('select#tag').selectmenu({style:'popup', width:200});
$(".account-box").mouseenter(showMenu);
$(".account-box").mouseleave(resetMenu);
});
function updatePage(data){
$.ajax({type: "GET", url: location.href, data: data, dataType: "script"});
}
function showMenu() {
$(this).toggleClass('hover');
}
function resetMenu() {
$(this).removeClass("hover");
}