Difference between revisions of "Team:Pasteur Paris/test"

Line 25: Line 25:
 
         top:2%;
 
         top:2%;
 
         cursor:auto;
 
         cursor:auto;
         height:200%;
+
         height:10vw;
 
          
 
          
 
         cursor:pointer;
 
         cursor:pointer;
Line 50: Line 50:
 
       document.getElementById("video").addEventListener("click", print);
 
       document.getElementById("video").addEventListener("click", print);
 
       function print(){
 
       function print(){
         var gliss = document.documentElement.scrollTop;
+
         var gliss = document.documentElement.scrollTop + 20;
 
         document.getElementById('paragraphe').innerHTML = document.documentElement.scrollTop +  "ok";
 
         document.getElementById('paragraphe').innerHTML = document.documentElement.scrollTop +  "ok";
         document.getElementById('bodyContent').innerHTML += '<div id="video2" style="z-index=5;top:'+1.15*gliss+'px;" class="video2"><iframe style="z-index=5;" 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.getElementById('bodyContent').innerHTML += '<div id="video2" style="z-index=5;top:'+gliss+'px;" class="video2"><iframe style="z-index=5;" 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:45, 11 October 2019

  • Safety
  • Juddging Form
  • Human Pratices

  • Education
    Law
    Events
  • Project
  • Description
    Design
    Results
    Entrepreneurship
    Demonstrate
    Chalenges
    Improve
  • Team
  • Team members
    Collaborations
    Attributions
  • Sciences
  • Notebook
    Results Attributions
  • Awards
  • About Us
  • HUMAN  PRACTICES

    PROJECT

    TEAM

    Picto Sciences

    Sciences

    ecr-v-1
    ecr-p-2
    ecr-v-1
    ecr-p-2
    ecr-p-2
    ecr-p-2
    ecr-v-1
    ecr-p-2
    ecr-p-2
    ecr-v-1
    ecr-p-2
    ecr-v-1
    ecr-p-2
    ecr-p-2
    ecr-v-1
    ecr-p-2
    ecr-v-1
    ecr-p-2

    Play full video