Team:Imperial College London/Templates/Header

From 2011.igem.org

(Difference between revisions)
 
(5 intermediate revisions not shown)
Line 8: Line 8:
<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)
 +
* This notice MUST stay intact for legal use
 +
* 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>
-
 
+
$(document).ready(function() {
-
 
+
    $("sup").click(function () {
-
 
+
      if ($(this).html().substr(0,1)=="[")
-
 
+
      {
-
 
+
        if ($('.technology').length>0)
-
 
+
        {
 +
            ddaccordion.expandone('technology', $('.technology').length-1)
 +
            setTimeout("window.scrollBy(0,50000)",200)
 +
        }
 +
        else window.scrollBy(0,50000)
 +
      }
 +
    });
 +
    $("sup").mouseover(function () {
 +
        if ($(this).html().substr(0,1)=="[") $(this).css('cursor', 'pointer');
 +
    });
 +
});
 +
</script>
<script>  
<script>  
   
   
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
     $(document).ready(function() {  
     $(document).ready(function() {  
         $('ul.sf-menu').superfish({  
         $('ul.sf-menu').superfish({  
Line 76: Line 85:
                                                         <li><a href="https://2011.igem.org/Team:Imperial_College_London/Extras/Collaboration">Collaboration</a></li>
                                                         <li><a href="https://2011.igem.org/Team:Imperial_College_London/Extras/Collaboration">Collaboration</a></li>
<li><a href="https://2011.igem.org/Team:Imperial_College_London/Protocols_General">Protocols</a></li>  
<li><a href="https://2011.igem.org/Team:Imperial_College_London/Protocols_General">Protocols</a></li>  
-
<li><a href="https://2011.igem.org/Team:Imperial_College_London/Standards">New Standards</a></li>
 
<li><a href="https://2011.igem.org/Team:Imperial_College_London/Software">Software</a></li>
<li><a href="https://2011.igem.org/Team:Imperial_College_London/Software">Software</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/Notebook/week1">Diary</a></li>

Latest revision as of 19:04, 28 October 2011