Difference between revisions of "Team:Greece/Project"

Line 13: Line 13:
 
                 //HIDE
 
                 //HIDE
 
                 void(document.getElementById('loading-background').style.display = 'none');
 
                 void(document.getElementById('loading-background').style.display = 'none');
                void(document.getElementById('loading-gif').style.display = 'none');
 
  
 
                 //SHOW
 
                 //SHOW
                 void(document.getElementById('main-wraper').style.display = 'block');              
+
                 void(document.getElementById('main-wraper').style.display = 'block');
 +
                void(document.getElementById('svg_graphics_box').style.display = 'block');
 +
                void(document.getElementById('background_box').style.display = 'block');             
 
                 // Change color of current link
 
                 // Change color of current link
 
                 $('a[href*="' +window.location.href+'"]').each(function() { $(this).css('color', '#000000'); });
 
                 $('a[href*="' +window.location.href+'"]').each(function() { $(this).css('color', '#000000'); });
Line 98: Line 99:
 
</nav>
 
</nav>
 
                 </div>
 
                 </div>
<svg style='display:block; position:absolute; z-index:1000; margin: 0px;' id='svg_graphics_box' class='responsive_box' height="600" width='99%' viewBox="0 0 800 700">
+
<svg style='display:none; position:absolute; z-index:1000; margin: 0px;' id='svg_graphics_box' class='responsive_box' height="600" width='99%' viewBox="0 0 800 700">
 
                               <!--min-x, min-y, width, height-->
 
                               <!--min-x, min-y, width, height-->
  
Line 119: Line 120:
 
</text>
 
</text>
 
</svg>
 
</svg>
<div class='background_box' onmouseover='whenAllOver()'>
+
 
 +
<!--Background Box Image-->
 +
<div class='background_box' id='background_box'>
 
<img src='https://static.igem.org/mediawiki/2017/6/6f/GreeKom_desert_hd.jpeg' style='width:100%; height:100%;' />
 
<img src='https://static.igem.org/mediawiki/2017/6/6f/GreeKom_desert_hd.jpeg' style='width:100%; height:100%;' />
 
</div>
 
</div>
Line 264: Line 267:
 
.background_box{
 
.background_box{
 
position:fixed;  
 
position:fixed;  
 +
        display: none;
 
margin-top: -100px;
 
margin-top: -100px;
 
width:100%;
 
width:100%;

Revision as of 03:00, 27 August 2017

Loading...