-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmyscripts.js
More file actions
28 lines (24 loc) · 774 Bytes
/
myscripts.js
File metadata and controls
28 lines (24 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$(document).ready(function(){
//$("body").hide().fadeIn(1000);
$("#restOf").hide()
$("#mHeader").hide().fadeIn(1000);
//$("#restOf").hide().fadeIn(3000);
$("#mHeader").promise().done(function(){
// will be called when all the animations on the queue finish
$("#restOf").fadeIn(1000);
$("#mDiv").css("border-radius", "50%");
});
$("#mFace").hover(function(){
$(".mInitial").stop(true).fadeTo("fast", 0);
$(".mResShow").stop(true).fadeTo("fast", 1);
}, function(){
$(".mInitial").stop(true).fadeTo("fast", 1);
$(".mResShow").stop(true).fadeTo("fast", 0).hide();
});
});
// $(window).load(function(){
// $("#mHeader").hide().fadeOut(1500);
// });
// $(window).load(function(){
// $("#restOf").hide().fadeOut(2000);
// });