Team:TU Delft-Leiden/Templates/Start

From 2014.igem.org

(Difference between revisions)
Line 4: Line 4:
     <script src="https://static.igem.org/mediawiki/2014/2/28/Delft2014_Jquery_hoverIntent.txt"></script>
     <script src="https://static.igem.org/mediawiki/2014/2/28/Delft2014_Jquery_hoverIntent.txt"></script>
     <script src="https://static.igem.org/mediawiki/2014/4/4e/Delft2014_Jquery_dcmegamenu.txt"></script>
     <script src="https://static.igem.org/mediawiki/2014/4/4e/Delft2014_Jquery_dcmegamenu.txt"></script>
 +
    <script src="https://static.igem.org/mediawiki/2014/0/0d/Delft2014_general.txt"></script>
     <!-- MathJax (LaTeX for the web) -->
     <!-- MathJax (LaTeX for the web) -->
     <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
     <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
Line 15: Line 16:
       ga('send', 'pageview');
       ga('send', 'pageview');
-
    </script>
 
-
   
 
-
    <script type="text/javascript">
 
-
        $(document).ready(function($){
 
-
            $('#nav li.sub-menu').click(function() {
 
-
                window.location.replace($(this).find('a').first().attr('href'));
 
-
            });
 
-
           
 
-
//            $(document).mousemove(function(event) {
 
-
//                if (event.pageY <= 20 && $('#top-section').attr('display') != 'block') {
 
-
//                    $('#top-section').fadeIn();
 
-
//                } else {
 
-
//                    if (event.pageY >= 20 && $('#top-section').attr('display') == 'block') {
 
-
//                        $('#top-section').fadeOut();
 
-
//                    }
 
-
//                }
 
-
//            });
 
-
        });
 
     </script>
     </script>
    
    

Revision as of 11:49, 5 October 2014