Team:Imperial College London/Templates/Header
From 2011.igem.org
(Difference between revisions)
(17 intermediate revisions not shown) | |||
Line 4: | Line 4: | ||
<meta http-equiv="content-type" content="text/html;charset=utf-8"> | <meta http-equiv="content-type" content="text/html;charset=utf-8"> | ||
<link rel="stylesheet" type="text/css" href="https://2011.igem.org/Team:Imperial_College_London/superfish?action=raw&ctype=text/css" media="screen"> | <link rel="stylesheet" type="text/css" href="https://2011.igem.org/Team:Imperial_College_London/superfish?action=raw&ctype=text/css" media="screen"> | ||
- | + | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
- | + | ||
- | + | ||
<script type="text/javascript" src="https://2011.igem.org/Team:Imperial_College_London/hoverIntent?action=raw&ctype=text/js"></script> | <script type="text/javascript" src="https://2011.igem.org/Team:Imperial_College_London/hoverIntent?action=raw&ctype=text/js"></script> | ||
<script type="text/javascript" src="https://2011.igem.org/Team:Imperial_College_London/superfishjs?action=raw&ctype=text/js"></script> | <script type="text/javascript" src="https://2011.igem.org/Team:Imperial_College_London/superfishjs?action=raw&ctype=text/js"></script> | ||
- | + | <script type="text/javascript" src="https://2011.igem.org/Team:Imperial_College_London/magnifier?action=raw&ctype=text/js"> | |
/*********************************************** | /*********************************************** | ||
* jQuery Image Magnify- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com) | * jQuery Image Magnify- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com) | ||
Line 16: | Line 14: | ||
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more | * Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more | ||
***********************************************/ | ***********************************************/ | ||
+ | <script type="text/javascript"> | ||
+ | var $ = jQuery; | ||
+ | jQuery.imageMagnify.zIndexcounter = 1000; | ||
</script> | </script> | ||
- | + | <script> | |
- | + | ||
- | <script> | + | |
- | + | ||
$(document).ready(function() { | $(document).ready(function() { | ||
$("sup").click(function () { | $("sup").click(function () { | ||
+ | if ($(this).html().substr(0,1)=="[") | ||
+ | { | ||
if ($('.technology').length>0) | if ($('.technology').length>0) | ||
{ | { | ||
Line 30: | Line 30: | ||
} | } | ||
else window.scrollBy(0,50000) | else window.scrollBy(0,50000) | ||
+ | } | ||
}); | }); | ||
$("sup").mouseover(function () { | $("sup").mouseover(function () { | ||
- | if ($(this).html().substr(0,1)=="[") $( | + | if ($(this).html().substr(0,1)=="[") $(this).css('cursor', 'pointer'); |
}); | }); | ||
}); | }); | ||
+ | </script> | ||
+ | <script> | ||
+ | |||
$(document).ready(function() { | $(document).ready(function() { | ||
$('ul.sf-menu').superfish({ | $('ul.sf-menu').superfish({ | ||
Line 65: | Line 69: | ||
<li><a href="https://2011.igem.org/Team:Imperial_College_London/Data">Data</a></li> | <li><a href="https://2011.igem.org/Team:Imperial_College_London/Data">Data</a></li> | ||
<li><a href="https://2011.igem.org/Team:Imperial_College_London/Judging">Judging Criteria</a></li> | <li><a href="https://2011.igem.org/Team:Imperial_College_London/Judging">Judging Criteria</a></li> | ||
+ | <li><a href="https://2011.igem.org/Team:Imperial_College_London/Europe_Jamboree">Europe Jamboree</a></li> | ||
</ul> | </ul> | ||
</li> | </li> | ||
Line 83: | Line 88: | ||
<li><a href="https://2011.igem.org/Team:Imperial_College_London/Notebook/week1">Diary</a></li> | <li><a href="https://2011.igem.org/Team:Imperial_College_London/Notebook/week1">Diary</a></li> | ||
<li><a href="https://2011.igem.org/Team:Imperial_College_London/Brainstorming_Health">Brainstorming</a></li> | <li><a href="https://2011.igem.org/Team:Imperial_College_London/Brainstorming_Health">Brainstorming</a></li> | ||
- | |||
</ul> | </ul> | ||
</li> | </li> |
Latest revision as of 19:04, 28 October 2011