Template:UOttawa Scripts
From 2013.igem.org
(Difference between revisions)
Line 17: | Line 17: | ||
}); | }); | ||
+ | var loc = window.location.href; | ||
+ | if (loc.indexOf("#") == -1) { | ||
$(".pane").hide() | $(".pane").hide() | ||
$(".paneLink.selected").click(); | $(".paneLink.selected").click(); | ||
+ | } | ||
+ | else { | ||
+ | var tgt = loc.split("#")[1]; | ||
+ | $("#" + tgt + "Link").click(); | ||
+ | } | ||
}); | }); | ||
</script> | </script> |
Latest revision as of 22:26, 27 September 2013