From e765a5b3948c43f2409d0324d8709acbee0bfcc0 Mon Sep 17 00:00:00 2001 From: will Date: Wed, 20 Oct 2010 18:29:19 -0700 Subject: [PATCH] Made the left nav links clicking more smoother. --- ui/new/index.jsp | 31 +++++-------------------------- ui/new/scripts/cloud.core2.js | 7 ++++--- 2 files changed, 9 insertions(+), 29 deletions(-) diff --git a/ui/new/index.jsp b/ui/new/index.jsp index e38b563bf7e..3a97d8081c8 100644 --- a/ui/new/index.jsp +++ b/ui/new/index.jsp @@ -21,61 +21,40 @@ long milliseconds = new Date().getTime(); + - - - - - - - - - - - - - - - - - - - - - - - - - + + + - Cloud.com CloudStack + Cloud.com CloudStack Management Console diff --git a/ui/new/scripts/cloud.core2.js b/ui/new/scripts/cloud.core2.js index 1ac51ac650f..5da05e05a9b 100644 --- a/ui/new/scripts/cloud.core2.js +++ b/ui/new/scripts/cloud.core2.js @@ -505,12 +505,13 @@ function selectLeftMenu($menuToSelect, expandable) { } if ($expandedLeftMenu != null) { - $expandedLeftMenu.hide(0, function() { - if ($menuToExpand != null) $menuToExpand.slideDown(); + $expandedLeftMenu.slideUp(500, function() { + //if ($menuToExpand != null) $menuToExpand.slideDown(200); }); + if ($menuToExpand != null) $menuToExpand.slideDown(500); $expandedLeftMenu = null; } else if ($menuToExpand != null) { - $menuToExpand.slideDown(); + $menuToExpand.slideDown(500); } $expandedLeftMenu = $menuToExpand; }