Difference between revisions of "Team:Greece/our team"

Line 5: Line 5:
 
   <script>
 
   <script>
 
       var newDiv = document.createElement('div');
 
       var newDiv = document.createElement('div');
 +
      var currentDiv = document.getElementById('main-wraper');
 
       document.body.appendChild(newDiv);
 
       document.body.appendChild(newDiv);
 
       void(newDiv.setAttribute('id', 'loading-background'));
 
       void(newDiv.setAttribute('id', 'loading-background'));
 +
      document.body.insertBefore(newDiv, currentDiv);
 
   </script>
 
   </script>
 
   <script> window.onload = function (){
 
   <script> window.onload = function (){

Revision as of 14:47, 12 August 2017