Template:Mexico-UNAM-CINVESTAV-HEADER
From 2010.igem.org
(Difference between revisions)
Line 16: | Line 16: | ||
}); | }); | ||
+ | $("body").css("display", "none"); | ||
+ | $("body").fadeIn(1000); | ||
+ | $("a.transition").click(function(event){ | ||
+ | event.preventDefault(); | ||
+ | linkLocation = this.href; | ||
+ | $("body").fadeOut(1000, redirectPage); | ||
+ | }); | ||
+ | function redirectPage() { | ||
+ | window.location = linkLocation; | ||
+ | } | ||
- | |||
}); | }); | ||
</script> | </script> |
Revision as of 02:10, 3 September 2010