mirror of
https://github.com/LeuisKen/leuisken.github.io.git
synced 2026-01-18 14:27:07 +00:00
eventl
This commit is contained in:
parent
42eda548b7
commit
409edfcbb3
@ -72,9 +72,9 @@ document.getElementById('page11').style.height = window.innerHeight + 'px'
|
||||
document.getElementById('page12').style.width = window.innerWidth + 'px'
|
||||
document.getElementById('page12').style.height = window.innerHeight + 'px'
|
||||
|
||||
document.getElementsByClassName('btn')[0].onclick = function() {
|
||||
document.getElementsByClassName('btn')[0].addEventListener( 'touchstart',function() {
|
||||
document.getElementById('main').style.top = -window.innerHeight*12 + 'px'
|
||||
}
|
||||
})
|
||||
|
||||
var bgImg = document.createElement('img')
|
||||
bgImg.src = './images/back.png'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user