Team:Valencia/notebook

From 2012.igem.org

(Difference between revisions)
Line 10: Line 10:
<p align="center"><b>Week 1</b></p>
<p align="center"><b>Week 1</b></p>
<div class="divspoiler">
<div class="divspoiler">
-
<p align="center"><input type="button" value="Show" onclick="if (this.parentNode.nextSibling.childNodes[0].style.display != '') { this.parentNode.nextSibling.childNodes[0].style.display = ''; this.value = 'Ocultar'; } else { this.parentNode.nextSibling.childNodes[0].style.display = 'none'; this.value = 'Mostrar'; }" />
+
<p align="center"><input type="button" value="Show" onclick="if (this.parentNode.nextSibling.childNodes[0].style.display != '') { this.parentNode.nextSibling.childNodes[0].style.display = ''; this.value = 'Hide'; } else { this.parentNode.nextSibling.childNodes[0].style.display = 'none'; this.value = 'Show'; }" />
</div><div><div class="spoiler" style="display: none;">
</div><div><div class="spoiler" style="display: none;">
Content
Content
Line 85: Line 85:
</div></div></p>
</div></div></p>
<br>
<br>
-
<p align="center"><b>Week 11</b></p>
+
<p align="center"><b>Week 12</b></p>
<div class="divspoiler">
<div class="divspoiler">
<p align="center"><input type="button" value="Show" onclick="if (this.parentNode.nextSibling.childNodes[0].style.display != '') { this.parentNode.nextSibling.childNodes[0].style.display = ''; this.value = 'Ocultar'; } else { this.parentNode.nextSibling.childNodes[0].style.display = 'none'; this.value = 'Mostrar'; }" />
<p align="center"><input type="button" value="Show" onclick="if (this.parentNode.nextSibling.childNodes[0].style.display != '') { this.parentNode.nextSibling.childNodes[0].style.display = ''; this.value = 'Ocultar'; } else { this.parentNode.nextSibling.childNodes[0].style.display = 'none'; this.value = 'Mostrar'; }" />
Line 93: Line 93:
<br>
<br>
</div>
</div>
 +
 +
<div class="divspoiler">
 +
<input type="button" value="Mostrar" onclick="if (this.parentNode.nextSibling.childNodes[0].style.display != '') { this.parentNode.nextSibling.childNodes[0].style.display = ''; this.value = 'Ocultar'; } else { this.parentNode.nextSibling.childNodes[0].style.display = 'none'; this.value = 'Mostrar'; }" />
 +
</div><div><div class="spoiler" style="display: none;">
 +
Aquí el contenido que queremos ocultar
 +
</div></div>
 +
 +
<div class="divspoiler">
 +
<a href="javascript:void(0);" onclick="if (this.parentNode.nextSibling.childNodes[0].style.display != '') { this.parentNode.nextSibling.childNodes[0].style.display = ''; } else { this.parentNode.nextSibling.childNodes[0].style.display = 'none';}" >Mostrar / Ocultar &#9660;&#9650;</a>
 +
</div><div><div class="spoiler" style="display: none;">
 +
Aquí el contenido que queremos ocultar
 +
</div></div>
 +
 +
<a onclick ="javascript:ShowHide('HiddenDiv')" href="javascript:;" >Show/Hide</a>
 +
 +
<div class="mid" id="HiddenDiv" style="DISPLAY: none" >
 +
This text was hidden
 +
</div>
 +
 +
<script language="JavaScript">
 +
function ShowHide(divId)
 +
{
 +
if(document.getElementById(divId).style.display == 'none')
 +
{
 +
document.getElementById(divId).style.display='block';
 +
}
 +
else
 +
{
 +
document.getElementById(divId).style.display = 'none';
 +
}
 +
}
 +
</script>
 +
 +
</html>

Revision as of 15:41, 12 September 2012



Notebook



Week 1


Week 2


Week 3


Week 4


Week 5


Week 6


Week 7


Week 8


Week 9


Week 10


Week 11


Week 12


Show/Hide