Difference between revisions of "Team:Greece/Model"

Line 14: Line 14:
 
     <script src='https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script>
 
     <script src='https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script>
  
     <!-- Call Template Scrips -->
+
     <!-- On document.ready -->
     <script type="text/javascript" src="https://2017.igem.org/Template:Greece/Javascript?
+
     <script>
action=raw&ctype=text/javascript"></script>
+
      $( document ).ready(function(){
 +
                void(window.document.title = 'MODEL');
  
    <!-- Change document title -->
+
                //HIDE
    <script>$( document ).ready(function(){void(window.document.title = 'MODEL');});</script>
+
                void(document.getElementById('loading-background').style.display = 'none');
 +
 
 +
                //SHOW
 +
                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
 +
                $('a[href*="' +window.location.href+'"]').each(function() { $(this).css('color', '#000000'); });
 +
      });
 +
    </script>
  
 
     <!-- Subsection onHover Functionality -->
 
     <!-- Subsection onHover Functionality -->

Revision as of 21:57, 28 August 2017

Loading...