Skip to content
Browse files

added hilite to cutting-edge menu when clicked

  • Loading branch information...
1 parent 84981ea commit 539d9844d41bdcffd7928980f2be05f69b700378 @impressivewebs committed Apr 4, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 js/general.js
View
6 js/general.js
@@ -146,9 +146,11 @@ var s = null,
if (view === 'common') {
s.commonList.slideDown(s.speed);
s.edgeList.slideUp(s.speed);
+ document.location = '#box-sizing';
} else {
s.edgeList.slideDown(s.speed);
s.commonList.slideUp(s.speed);
+ document.location = '#calc';
}
},
@@ -172,7 +174,7 @@ var s = null,
s.dlHREF = $('.propsnav').find('a[href$="' + view + '"]');
if (s.dlHREF.parent().parent().attr('id') === 'commonlist') {
-
+
s.commonList.slideDown(s.speed);
s.edgeList.slideUp(s.speed);
s.btnCommon.addClass('selected');
@@ -181,7 +183,7 @@ var s = null,
} else {
s.commonList.slideUp(s.speed);
- s.commonList.slideUp(s.speed);
+ s.edgeList.slideDown(s.speed);
s.btnEdge.addClass('selected');
s.btnCommon.removeClass('selected');

0 comments on commit 539d984

Please sign in to comment.
Something went wrong with that request. Please try again.