Team:Tec-Monterrey/antifreeze/video
From 2012.igem.org
(Difference between revisions)
Line 158: | Line 158: | ||
.content #cl6:hover{ background:url(https://static.igem.org/mediawiki/2012/2/24/TECMTY_Antifreeze_notebook_hover.png) no-repeat;} | .content #cl6:hover{ background:url(https://static.igem.org/mediawiki/2012/2/24/TECMTY_Antifreeze_notebook_hover.png) no-repeat;} | ||
- | . | + | .msg_head { |
- | + | color:#414141; | |
- | + | } | |
+ | .msg_head:hover { | ||
+ | color:#000000; | ||
+ | } | ||
+ | .msg_content { | ||
+ | padding-top:8px; | ||
+ | background:#E9E9E9; | ||
+ | color:#414141; | ||
+ | border-radius:5px; | ||
+ | -moz-border-radius:5px; | ||
+ | } | ||
+ | |||
+ | .tabcolor { | ||
+ | border:none; | ||
height:60px; | height:60px; | ||
- | + | width:100%; | |
- | + | background:#414141; | |
- | + | ||
color:#FFF; | color:#FFF; | ||
- | font-size: | + | font-size:18px; |
- | + | } | |
- | + | .tabcolor:hover { | |
+ | background:#E9E9E9; | ||
+ | color:#414141; | ||
+ | } | ||
+ | .tablft { | ||
+ | border-top-left-radius:8px; | ||
+ | border-bottom-left-radius:8px; | ||
+ | -moz-border-radius-topleft:8px; | ||
+ | -moz-border-radius-bottomleft:8px; | ||
+ | } | ||
+ | .tabrit { | ||
+ | border-top-right-radius:8px; | ||
+ | border-bottom-right-radius:8px; | ||
+ | -moz-border-radius-topright:8px; | ||
+ | -moz-border-radius-bottomright:8px; | ||
} | } | ||
.content #replace { | .content #replace { | ||
+ | max-width:980px; | ||
border-radius:8px; | border-radius:8px; | ||
-moz-border-radius:7px; | -moz-border-radius:7px; | ||
Line 178: | Line 205: | ||
padding-left:10px; | padding-left:10px; | ||
padding-right:10px; | padding-right:10px; | ||
+ | font-size:16px; | ||
+ | text-align: justify; | ||
color:#414141; | color:#414141; | ||
+ | } | ||
+ | .content #tabs-back { | ||
+ | margin-top:25px; | ||
+ | margin-bottom:40px; | ||
} | } | ||
.content #div_subcontent { | .content #div_subcontent { | ||
Line 267: | Line 300: | ||
$("#div_subcontent").fadeOut(1000); | $("#div_subcontent").fadeOut(1000); | ||
}); | }); | ||
+ | //Tabs | ||
+ | $('#tab1').click(function() { | ||
+ | $('#replace').html($('#content1').html()); | ||
+ | }); | ||
+ | /*$('#tab2').click(function() { | ||
+ | $('#replace').html($('#content2').html()); | ||
+ | }); | ||
+ | $('#tab3').click(function() { | ||
+ | $('#replace').html($('#content3').html()); | ||
+ | }); | ||
+ | $('#tab4').click(function() { | ||
+ | $('#replace').html($('#content4').html()); | ||
+ | });*/ | ||
+ | //load funcs | ||
+ | $('#tab1').click(); | ||
}); | }); | ||
</script> | </script> | ||
Line 287: | Line 335: | ||
<img src="https://static.igem.org/mediawiki/2012/2/24/TECMTY_Antifreeze_notebook_hover.png" alt="12" /> | <img src="https://static.igem.org/mediawiki/2012/2/24/TECMTY_Antifreeze_notebook_hover.png" alt="12" /> | ||
</span> | </span> | ||
+ | <div class="preload" id="content1"> | ||
+ | <div class="center-frame"> | ||
+ | <iframe width="560" height="315" src="http://www.youtube.com/embed/fh4DU4kbLKg" frameborder="0" allowfullscreen></iframe> | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
<div class="container"> | <div class="container"> | ||
Line 340: | Line 394: | ||
<td> | <td> | ||
<div id="tabs-back"> | <div id="tabs-back"> | ||
- | + | <table width="100%" cellspacing=0 cellpadding=0> | |
+ | <tr> | ||
+ | <td width="25%"> | ||
+ | <button type="button" id="tab1" class="tabcolor tablft">video</button> | ||
+ | </td> | ||
+ | <td width="25%"> | ||
+ | <button type="button" id="tab2" class="tabcolor"> </button> | ||
+ | </td> | ||
+ | <td width="25%"> | ||
+ | <button type="button" id="tab3" class="tabcolor"> </button> | ||
+ | </td> | ||
+ | <td width="25%"> | ||
+ | <button type="button" id="tab4" class="tabcolor tabrit"> </button> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
</div> | </div> | ||
</td> | </td> |
Revision as of 00:52, 27 September 2012
|
||||
Lorem Ipsum
|