Team:RHIT/Current Team
From 2012.igem.org
(Difference between revisions)
Line 47: | Line 47: | ||
} | } | ||
$(document).ready(function () { | $(document).ready(function () { | ||
- | var split = location.search.replace('?', '').split('=') | + | var split = location.search.replace('?', '').split('='); |
var page = $('#menubar.right-menu').find('#pt-userpage'); | var page = $('#menubar.right-menu').find('#pt-userpage'); | ||
if (page.length == 0) return undefined; | if (page.length == 0) return undefined; | ||
Line 56: | Line 56: | ||
$('#logged_in').show(); | $('#logged_in').show(); | ||
} | } | ||
- | + | var tab = split + "()"; | |
+ | window[tab]; | ||
}); | }); | ||
</script> | </script> |
Revision as of 03:37, 2 October 2012