-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.jsx
41 lines (29 loc) · 845 Bytes
/
index.jsx
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
29
30
31
32
33
34
35
36
37
38
39
40
41
var $ = require('jquery');
$(document).ready(function(){
$('footer').html('( Don Shieh © ' + new Date().getFullYear() + ' )');
setTimeout(function(){
$('#cssskills').removeClass('start');
}, 500);
setTimeout(function(){
$('#works').removeClass('start');
}, 1000);
setTimeout(function(){
$('#jsskills').removeClass('start');
}, 1500);
setTimeout(function(){
$('#worksurroundings').removeClass('start');
}, 2000);
// for animation
// $(window).on('scroll', function(){
// // console.log(window.pageYOffset);
// if(window.pageYOffset > 0){
// $('#selfpart').addClass('selfpart-nav');
// $('body').addClass('fatPadding');
// }
// if(window.pageYOffset <= 0){
// // console.log('alert!')
// $('#selfpart').removeClass('selfpart-nav');
// $('body').removeClass('fatPadding');
// }
// })
});