Team:Imperial College London/Templates/Accordion

From 2011.igem.org

(Difference between revisions)
 
(One intermediate revision not shown)
Line 3: Line 3:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
<script>
 
-
$(document).ready(function() {
 
-
    $("sup").click(function () {
 
-
        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)=="[") $("sup").css('cursor', 'pointer');
 
-
    });
 
-
});
 
-
</script>
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 

Latest revision as of 18:36, 28 October 2011