Team:Cambridge/Templates/HybridBook
From 2010.igem.org
(Difference between revisions)
(34 intermediate revisions not shown) | |||
Line 48: | Line 48: | ||
$('#lablink')[0].firstChild.innerHTML="Viewing protocols and data"; | $('#lablink')[0].firstChild.innerHTML="Viewing protocols and data"; | ||
$('#projectlink')[0].firstChild.innerHTML="View project diary"; | $('#projectlink')[0].firstChild.innerHTML="View project diary"; | ||
- | $('# | + | $('#projectlink')[0].firstChild.innerHTML="View project diary"; |
+ | $('#maskingbox')[0].style.height=""; | ||
$('#projectlink')[0].className="selectordiv"; | $('#projectlink')[0].className="selectordiv"; | ||
+ | $('#lablink')[0].className="selecteddiv"; | ||
backToNormal(); | backToNormal(); | ||
var $marginLefty = $("#superwide"); | var $marginLefty = $("#superwide"); | ||
Line 56: | Line 58: | ||
}); | }); | ||
+ | |||
}); | }); | ||
$('#projectlink').click(function() { | $('#projectlink').click(function() { | ||
+ | $('#maskingbox')[0].style.height="2000px"; | ||
$('#lablink')[0].firstChild.innerHTML="View protocols and data"; | $('#lablink')[0].firstChild.innerHTML="View protocols and data"; | ||
$('#projectlink')[0].firstChild.innerHTML="Viewing project diary"; | $('#projectlink')[0].firstChild.innerHTML="Viewing project diary"; | ||
Line 96: | Line 100: | ||
<style> | <style> | ||
- | div.selectordiv{height:30px; cursor:pointer;} | + | div.selectordiv{height:30px; cursor:pointer;background-image: url(https://static.igem.org/mediawiki/2010/a/ad/Cam-Gradient-Overlay.png);} |
- | div.selecteddiv{height:30px; cursor:default;} | + | div.selecteddiv{height:30px; cursor:default;background-image: url(https://static.igem.org/mediawiki/2010/a/ad/Cam-Gradient-Overlay.png);} |
div.selectordiv p{margin-left:15px;font-weight:bold; color:white; | div.selectordiv p{margin-left:15px;font-weight:bold; color:white; | ||
} | } | ||
div.selecteddiv p{margin-left:15px; font-weight:normal; color:white; | div.selecteddiv p{margin-left:15px; font-weight:normal; color:white; | ||
} | } | ||
+ | |||
+ | |||
</style> | </style> | ||
<div style="width:730px; background-color:#fad72a;" class="secheader">Notebook: Week </html>{{{num}}}<html></div> | <div style="width:730px; background-color:#fad72a;" class="secheader">Notebook: Week </html>{{{num}}}<html></div> | ||
Line 110: | Line 116: | ||
</div> | </div> | ||
- | <div style="overflow:hidden; width:730px; position:relative;"> | + | <div style="overflow:hidden; height:2200px; width:730px; position:relative;" id="maskingbox"> |
<div style="width:1320px; position:relative;" id="superwide"> | <div style="width:1320px; position:relative;" id="superwide"> | ||
- | <table style="width:1480px"><tr><td style="padding-right:50px; padding-left:10px; width:630px;vertical-align:top"></html> | + | <table style="width:1480px" id="widetable"><tr><td style="padding-right:50px; padding-left:10px; width:630px;vertical-align:top"></html> |
{{:Team:Cambridge/Notebook/{{{num}}}}} | {{:Team:Cambridge/Notebook/{{{num}}}}} | ||
- | |||
<html></td><td style="width:630px; vertical-align:top"></html> | <html></td><td style="width:630px; vertical-align:top"></html> | ||
{{:Team:Cambridge/LabBook/Week{{{num}}}}} | {{:Team:Cambridge/LabBook/Week{{{num}}}}} | ||
- | |||
- | |||
<html></td></tr></table> | <html></td></tr></table> | ||
</div></div></html> | </div></div></html> | ||
+ | |||
+ | |||
{{:Team:Cambridge/Templates/footerMinimal}} | {{:Team:Cambridge/Templates/footerMinimal}} |
Latest revision as of 01:52, 28 October 2010
Notebook: Week {{{num}}}
Viewing project diary
View protocols and data