Template:Team:Paris Saclay/default header

From 2014.igem.org

(Difference between revisions)
m
Line 49: Line 49:
         #footerps {margin: 2% 2% 2% 23%;width: 75%;}
         #footerps {margin: 2% 2% 2% 23%;width: 75%;}
-
        #flags {float:right;}
 
-
        #flags a {height:43px; width: 50px; display: block; background-image:url(https://static.igem.org/mediawiki/2014/9/9e/Paris_Saclay_wiki-flags.png); float:right; cursor:pointer; margin:0 5px;}
 
-
        .flgbrazil {background-position-x: -10px;}
 
-
        .flgchina {background-position-x: -70px;}
 
-
        .flgfinland {background-position-x: -130px;}
 
-
        .flgfrance {background-position-x: -190px;}
 
-
        .flgitaly {background-position-x: -250px;}
 
-
        .flgkorea {background-position-x: -310px;}
 
-
        .flgnetherland {background-position-x: -370px;}
 
-
        .flgnorway {background-position-x: -430px;}
 
-
        .flgpoland {background-position-x: -490px;}
 
-
        .flgspain {background-position-x: -550px;}
 
-
        .flgturkey {background-position-x: -610px;}
 
-
        .flguk {background-position-x: -670px;}
 
         .invisible {display:none;}
         .invisible {display:none;}
     </style>
     </style>
Line 74: Line 60:
   ga('send', 'pageview');
   ga('send', 'pageview');
</script>
</script>
-
 
-
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
 
     <!-- MathJax (LaTeX for the web) -->
     <!-- MathJax (LaTeX for the web) -->
Line 87: Line 71:
     </script>
     </script>
     <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>
-
    <script>
 
-
        $(document).ready(function(){
 
-
            $(".flgbrazil").click(function(){abstractTranslation('portuguese');});
 
-
            $(".flgchina").click(function(){abstractTranslation('chinese');});
 
-
            $(".flgfinland").click(function(){abstractTranslation('finnish');});
 
-
            $(".flgfrance").click(function(){abstractTranslation('french');});
 
-
            $(".flgitaly").click(function(){abstractTranslation('italian');});
 
-
            $(".flgkorea").click(function(){abstractTranslation('korean');});
 
-
            $(".flgnetherland").click(function(){abstractTranslation('dutch');});
 
-
            $(".flgnorway").click(function(){abstractTranslation('norwegian');});
 
-
            $(".flgpoland").click(function(){abstractTranslation('polish');});
 
-
            $(".flgspain").click(function(){abstractTranslation('spanish');});
 
-
            $(".flgturkey").click(function(){abstractTranslation('turkish');});
 
-
            $(".flguk").click(function(){abstractTranslation('english');});
 
-
 
-
            var actualVersion = $("#englishversion");
 
-
            var abstractTranslation = function(a) {
 
-
                actualVersion.addClass("invisible");
 
-
                actualVersion = $( "#"+a+"version" );
 
-
                actualVersion.removeClass("invisible");
 
-
            };
 
-
        });
 
-
    </script>
 
-
   
 
-
    <!--<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.5.0/pure-min.css"> -->
 
     <div id="headerps"><a href="https://2014.igem.org/Team:Paris_Saclay" alt="iGEM Paris Saclay 2014"><img src="https://static.igem.org/mediawiki/2014/4/4d/Paris_Saclay_wiki-header.jpg"></a></div>
     <div id="headerps"><a href="https://2014.igem.org/Team:Paris_Saclay" alt="iGEM Paris Saclay 2014"><img src="https://static.igem.org/mediawiki/2014/4/4d/Paris_Saclay_wiki-header.jpg"></a></div>

Revision as of 17:31, 8 October 2014