Team:Heidelberg/Templates/Footer-Nav
From 2013.igem.org
(Difference between revisions)
Nils.kurzawa (Talk | contribs) |
m |
||
(8 intermediate revisions not shown) | |||
Line 60: | Line 60: | ||
.imageMap .hotspots div:hover b {width:0; padding:0;} | .imageMap .hotspots div:hover b {width:0; padding:0;} | ||
.imageMap .hotspots div:hover p {display:block;} | .imageMap .hotspots div:hover p {display:block;} | ||
- | .imageMap .hotspots div:hover a {background:#fff; z-index:100; opacity:0.3; filter: alpha(opacity=30) | + | .imageMap .hotspots div:hover a {background:#fff; z-index:100; opacity:0.3; filter: alpha(opacity=30);} |
</style> | </style> | ||
<div class="row"> | <div class="row"> | ||
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 <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 158: | 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 164: | 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' : | + | 'left' :offsetLeft, |
'opacity' :'3.0', | 'opacity' :'3.0', | ||
},200,'easeOutBack',function(){ | },200,'easeOutBack',function(){ | ||
Line 204: | 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