Team:ETH Zurich/Templates/interactive

From 2013.igem.org

(Difference between revisions)
(Created page with "{{:Team:ETH_Zurich/Templates}} <html> <head> <style> #test_bild { width: 200px; height: 200px; background-color: red; color: white; border: 4px solid black; margin: 100px 0...")
Line 3: Line 3:
<head>
<head>
<style>
<style>
-
#test_bild {
+
 
-
width: 200px;
+
-
height: 200px;
+
-
background-color: red;
+
-
color: white;
+
-
border: 4px solid black;
+
-
margin: 100px 0 0 80px;
+
-
}
+
</style>
</style>
</head>
</head>
<body>
<body>
-
<div id="test_bild"><p>Der Text hallohallo</p></div>
+
<div id="test_bild"><img src="https://static.igem.org/mediawiki/2013/thumb/4/4b/Fabian_iGEM.jpg/300px-Fabian_iGEM.jpg"></div>
<script>
<script>
$(document).ready(function() {
$(document).ready(function() {
-
$('#test_bild").animate({'margin-top': '900px', 'margin-left': '400px'},1000);
+
$('#test_bild').animate({'margin-top': '900px', 'margin-left': '400px'},1000);
});
});
</script>
</script>

Revision as of 13:12, 22 August 2013

Header2.png
80px-Eth igem logo.png