Team:Evry/Template:HomeIncludes

From 2014.igem.org

(Difference between revisions)
Line 34: Line 34:
   </head>
   </head>
 +
<script src="//code.jquery.com/jquery-2.1.1.min.js"></script>
 +
    <!-- jQuery local fallback -->
 +
    <script>
 +
        window.jQuery || document.write('<script src="/zeppelin/js/jquery-2.1.1.min.js ><\/script>')
 +
    </script>
 +
    <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
 +
    <!-- Bootstrap JS local fallback -->
 +
    <script>
 +
        if (typeof ($.fn.modal) === 'undefined') {
 +
            document.write('<script src="/zeppelin/js/bootstrap.min.js ><\/script>')
 +
        }
 +
    </script> 
 +
    <!--<script src="/zeppelin/js/jquery.countTo.min.js"></script>
 +
    <script src="/zeppelin/js/jquery.appear.min.js"></script>
 +
    <script src="/zeppelin/js/typed.min.js"></script>
 +
    <script src="/zeppelin/js/waves.min.js"></script>-->
 +
    <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
 +
<script src="https://2014.igem.org/Team:Evry/JS?action=raw&ctype=text/javascript"></script>
 +
    <script>
 +
        $(document).ready(function () {
 +
            var bodyColor = $('body').css('color');
 +
            if (bodyColor != 'rgb(51, 51, 51)') {
 +
                $("head").prepend('<link rel="stylesheet" href="http://www.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">');
 +
            }
 +
            $(function () {
 +
                $("#typeout-text").typed({
 +
                    strings: ["", "Conference", "LiveCode", "Season"],
 +
                    typeSpeed: 150,
 +
                    backDelay: 900,
 +
                    loop: true
 +
                });
 +
            });
 +
        });
 +
    </script>
</html>
</html>

Revision as of 21:13, 30 July 2014

IGEM Evry 2014