Team:Queens Canada/SynthetiQ/PCR

From 2012.igem.org

(Difference between revisions)
 
(21 intermediate revisions not shown)
Line 32: Line 32:
background-color: red;
background-color: red;
margin-top: 40px;
margin-top: 40px;
 +
position:relative;
}
}
#synthetiqvideo
#synthetiqvideo
{
{
width:1000px;
width:1000px;
-
float:left;
+
position:relative;
background-color:green;
background-color:green;
 +
float:left;
}
}
Line 50: Line 52:
<body>
<body>
<div id="synthetiqcontentcontainer">
<div id="synthetiqcontentcontainer">
-
<div id="videoselector">
+
<div class="kwicks_container">
-
Video
+
  <ul class="kwicks">
-
</div>
+
  <li id="kwick_1">
-
<div id="protocolselector">
+
  <a href="#" id="video">Video
 +
 
 +
    </a>
 +
  </li>
 +
  <li id="kwick_2">
 +
  <a href="#" id="protocols">Protocols
 +
      </a>
 +
  </li>
 +
 
 +
  </ul>
</div>
</div>
<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>  
</div>
</div>
<script type="text/javascript">
<script type="text/javascript">
-
$("#videoselector").hover(function(){
+
$("#video").click(function(){
-
     $("#protocolselector").filter(':not(:animated)').animate({ width: "355px" });
+
     $("#synthetiqcontent").filter(':not(:animated)').animate({left: "0px"});
-
}, function() {
+
-
 
+
});
});
-
$("#videoselector").hover(function(){
+
 
-
    $(this).filter(':not(:animated)').animate({ width: "645px" });
+
</script>
-
}, function() {
+
<script type="text/javascript">
-
 
+
$("#protocols").click(function(){
-
});
+
     $("#synthetiqcontent").filter(':not(:animated)').animate({ "left": "-1000px" });
-
$("#protocolselector").hover(function(){
+
-
     $("#videoselector").filter(':not(:animated)').animate({ width: "355px" });
+
-
}, function() {
+
-
 
+
-
});
+
-
$("#protocolselector").hover(function(){
+
-
    $(this).filter(':not(:animated)').animate({ width: "645px" });
+
-
}, function() {
+
-
 
+
});
});

Latest revision as of 05:37, 17 August 2012

Control
video content
protocol content