Difference between revisions of "Team:Bordeaux/Template:Global"

(Undo revision 65325 by Cmaillot (talk))
 
(9 intermediate revisions by 3 users not shown)
Line 17: Line 17:
  
 
  <script src="//code.jquery.com/jquery-2.1.1.min.js"></script>
 
  <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="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
 
     <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
 
     <script src="https://2015.igem.org/Team:Bordeaux/JS?action=raw&ctype=text/javascript"></script>
 
     <script src="https://2015.igem.org/Team:Bordeaux/JS?action=raw&ctype=text/javascript"></script>
Line 22: Line 36:
  
  
 
+
    <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: ["","Cured Vine",""],
 +
                    typeSpeed: 150,
 +
                    backDelay: 800,
 +
                    loop: true
 +
                });
 +
            });
 +
        });
 +
    </script>
 
</html>
 
</html>

Latest revision as of 10:12, 12 September 2015

IGEM Bordeaux 2015