This commit is contained in:
Arjun Patel
2018-01-21 10:59:15 -08:00
parent 6c1baab753
commit 38c93a13f4
4 changed files with 98 additions and 27 deletions
+1 -22
View File
@@ -1,23 +1,2 @@
$(document).ready(function() {
$('body').css('display','none');
$(document).ready(function() {
$('body').fadeIn(1000);
$('a').on('click',function(event){
var thetarget = this.getAttribute('target')
if (thetarget != "_blank"){
var thehref = this.getAttribute('href')
event.preventDefault();
$('body').fadeOut(function(){
//alert(thehref)
window.location = thehref
});
}
});
});
setTimeout(function(){
$('body').fadeIn();
},1000)
});
console.log('hi');