Permalink
Browse files

viewHere

  • Loading branch information...
1 parent eb28558 commit b2e41d37e79440d8fc09a5d8ede2e1765f5d6db9 @anoopr anoopr committed Nov 6, 2011
Showing with 9 additions and 1 deletion.
  1. +9 −1 index.html
View
@@ -156,7 +156,15 @@ <h2 style="display: none;">Create Flash Special</h2>
$("#footer a").removeClass("selected");
$(this).addClass("selected");
});
- $("#scrollview-content .view:not(#viewSpecials)").hide();
+
+ var selectedTab = '';
+ if ($.deparam['uid']) {
+ selectedTab = '#viewHere';
+ } else {
+ selectedTab = '#viewSpecials';
+ }
+
+ $("#scrollview-content .view:not(" + selectedTab + ")").hide();
// YUI Scroll
YUI().use('scrollview-base', function(Y) {

0 comments on commit b2e41d3

Please sign in to comment.