Permalink
Browse files

smoothing

  • Loading branch information...
codepo8 committed Aug 17, 2010
1 parent 2635e60 commit cede15278be25785bb59b5a309c337c62bdfa0e3
Showing with 4 additions and 3 deletions.
  1. +4 −3 worldinfo.js
View
@@ -95,10 +95,11 @@ $(document).ready(function(){
// navigation and we shift the "show" class from the last shown
// sub-menu to the current one
if($(this).html().length==1){
- $(current).removeClass('show');
- $('#list'+$(this).html()).addClass('show');
+ $(current).removeClass('show').hide();
current = $('#list'+$(this).html());
-
+ current.hide().addClass('show').show('medium');
+ $('#list'+$(this).html()+' button:first').focus();
+
// otherwise we call the showcountry function
} else {
showcountry($(this));

0 comments on commit cede152

Please sign in to comment.