Team:Heidelberg/Test Page Jakob

From 2014.igem.org

(Difference between revisions)
Line 39: Line 39:
</style>
</style>
<script Language="JavaScript">
<script Language="JavaScript">
-
$("#test").mouseover(function(){
+
$(document).ready(function() {
-
    $(this).animate({height:'200'}, "fast")
+
$("#test").mouseover(function(){
-
});
+
    $(this).animate({height:'200'}, "fast")
 +
});
-
$("#test").mouseout(function(){
+
$("#test").mouseout(function(){
-
    $(this).animate({height:'100'}, "fast")
+
    $(this).animate({height:'100'}, "fast")
-
});
+
});
 +
}
</script>
</script>

Revision as of 01:07, 10 June 2014