initail with home page from seat x-change

This commit is contained in:
Arjun Patel
2018-01-20 13:21:19 -08:00
parent 982037efc1
commit 4b0ba4e17b
5 changed files with 160 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
$(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)
});