Template:UOttawa Scripts
From 2013.igem.org
(Difference between revisions)
(One intermediate revision not shown) | |||
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> | ||
Line 326: | Line 333: | ||
- | if(fade_in_from == | + | if(fade_in_from == 585){ |
fade_in_from = 0; | fade_in_from = 0; | ||
clearTimeout(loopTimer); | clearTimeout(loopTimer); |
Latest revision as of 22:26, 27 September 2013