Team:Heidelberg/Templates/Footer-Nav

From 2013.igem.org

(Difference between revisions)
m
 
(6 intermediate revisions not shown)
Line 66: Line 66:
<div class="imageMap" aria-haspopup="true">
<div class="imageMap" aria-haspopup="true">
  <img src="https://static.igem.org/mediawiki/2013/f/fd/Heidelberg_bottom_sponsors2.png" width="100%">
  <img src="https://static.igem.org/mediawiki/2013/f/fd/Heidelberg_bottom_sponsors2.png" width="100%">
-
  <center>Thanks to Bootstrap!</center>
+
  <center>Thanks to <object style="width:20px; top:0px" data="https://static.igem.org/mediawiki/2013/0/07/Heidelberg_boot.png"></object></center>
<div class="hotspots">
<div class="hotspots">
<div title="Roth">
<div title="Roth">
Line 159: Line 159:
<script type="text/javascript">
<script type="text/javascript">
$(function() {
$(function() {
-
     var items = $('.item');
+
     /*var items = $('.item');
     for (var i = 0; i < items.length; ++i) {
     for (var i = 0; i < items.length; ++i) {
         var dd = $(items[i]).find('ul');
         var dd = $(items[i]).find('ul');
Line 165: Line 165:
             dd.css("left", ($(items[i]).innerWidth() - dd.outerWidth()) * 0.5);
             dd.css("left", ($(items[i]).innerWidth() - dd.outerWidth()) * 0.5);
         }
         }
-
     }
+
     }*/
     $('#nav > div').hover(
     $('#nav > div').hover(
     function () {
     function () {
         var $this = $(this);
         var $this = $(this);
 +
        var offsetLeft = $this.data("offsetL") + "px";
         $this.find('img.circle').stop().animate({
         $this.find('img.circle').stop().animate({
             'width'    :'320px',
             'width'    :'320px',
             'height'    :'320px',
             'height'    :'320px',
//                      'top'      :'0 px',
//                      'top'      :'0 px',
-
                 'left'      :'-124px',
+
                 'left'      :offsetLeft,
             'opacity'  :'3.0',
             'opacity'  :'3.0',
         },200,'easeOutBack',function(){
         },200,'easeOutBack',function(){
Line 205: Line 206:
<!-- This part is only if you want to use $...$ delimiters -->
<!-- This part is only if you want to use $...$ delimiters -->
<script type="text/x-mathjax-config">
<script type="text/x-mathjax-config">
-
     MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
+
     MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}, TeX: {equationNumbers: { autoNumber: "AMS" }}});
</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>
</html>
</html>

Latest revision as of 00:36, 29 October 2013

Thanks to