Line 341: | Line 341: | ||
$("#myfooter").fadeIn("100"); | $("#myfooter").fadeIn("100"); | ||
}); | }); | ||
+ | }); | ||
+ | </script> | ||
+ | <script> | ||
+ | $(document).ready(function() { | ||
+ | |||
+ | $('body').css('display', 'none'); | ||
+ | |||
+ | $('body').fadeIn(1000); | ||
+ | |||
+ | |||
+ | |||
+ | $('.link').click(function(event) { | ||
+ | |||
+ | event.preventDefault(); | ||
+ | |||
+ | newLocation = this.href; | ||
+ | |||
+ | $('body').fadeOut(1000, newpage); | ||
+ | |||
+ | }); | ||
+ | |||
+ | |||
+ | |||
+ | function newpage() { | ||
+ | |||
+ | window.location = newLocation; | ||
+ | |||
+ | } | ||
+ | |||
}); | }); | ||
</script> | </script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 15:30, 23 August 2017