m |
|||
Line 17: | Line 17: | ||
height:80%; | height:80%; | ||
cursor:pointer; | cursor:pointer; | ||
− | + | z-index=-1; | |
} | } | ||
div.video2 { | div.video2 { | ||
Line 52: | Line 52: | ||
var gliss = document.documentElement.scrollTop; | var gliss = document.documentElement.scrollTop; | ||
document.getElementById('paragraphe').innerHTML = document.documentElement.scrollTop + "ok"; | document.getElementById('paragraphe').innerHTML = document.documentElement.scrollTop + "ok"; | ||
− | document.body.innerHTML += '<div id="video2" style="z-index=5;top:'+gliss+'px;" class="video2"><iframe width="100%" height="100%" src="https://www.youtube.com/embed/m8sa2u1treQ?&autoplay=1" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></div>'; | + | document.body.innerHTML += '<div id="video2" style="z-index=5;top:'+1.15*gliss+'px;" class="video2"><iframe width="100%" height="100%" src="https://www.youtube.com/embed/m8sa2u1treQ?&autoplay=1" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></div>'; |
/*document.body.innerHTML += '<div class="fond-noir">'*/ | /*document.body.innerHTML += '<div class="fond-noir">'*/ | ||
} | } |
Revision as of 16:20, 11 October 2019
Education
Law
Events
Design
Results
Entrepreneurship
Demonstrate
Chalenges
Improve
Collaborations
Attributions
Results Attributions
Play full video