intro image, only start on start
This commit is contained in:
parent
bf9b95f2e6
commit
cddeea5ab0
1 changed files with 5 additions and 0 deletions
|
@ -34,6 +34,9 @@
|
|||
#intro, #contact {
|
||||
display: none;
|
||||
}
|
||||
#intro img {
|
||||
width: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -61,12 +64,14 @@
|
|||
timenav_height: 100,
|
||||
});
|
||||
}
|
||||
/*
|
||||
document.querySelector('#intro').addEventListener('click', event => {
|
||||
document.querySelector('#intro').style.display = 'none'
|
||||
document.querySelector('#contact').style.display = 'none'
|
||||
document.querySelector('#timeline').style.display = 'block'
|
||||
load_timeline()
|
||||
})
|
||||
*/
|
||||
if (document.location.hash.slice(1).length) {
|
||||
load_timeline()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue