Team:Queens Canada/SynthetiQ/PCR

From 2012.igem.org

(Difference between revisions)
m
 
(7 intermediate revisions not shown)
Line 39: Line 39:
position:relative;
position:relative;
background-color:green;
background-color:green;
 +
float:left;
}
}
Line 67: Line 68:
<div id="synthetiqcontent">
<div id="synthetiqcontent">
<div id="synthetiqvideo">
<div id="synthetiqvideo">
-
video
+
video content
</div>
</div>
<div id="synthetiqprotocol">
<div id="synthetiqprotocol">
-
protocol
+
protocol content
</div>
</div>
</div>  
</div>  
Line 76: Line 77:
<script type="text/javascript">
<script type="text/javascript">
$("#video").click(function(){
$("#video").click(function(){
-
     $(this).filter(':not(:animated)').animate({ "left": "=0px" });
+
     $("#synthetiqcontent").filter(':not(:animated)').animate({left: "0px"});
});
});
Line 82: Line 83:
<script type="text/javascript">
<script type="text/javascript">
$("#protocols").click(function(){
$("#protocols").click(function(){
-
     $("#synthetiqvideo").filter(':not(:animated)').animate({ "left": "=-1000px" });
+
     $("#synthetiqcontent").filter(':not(:animated)').animate({ "left": "-1000px" });
});
});

Latest revision as of 05:37, 17 August 2012

Control
video content
protocol content