Template:Biomod/2013/Aarhus/Nano Creators/Begin: Difference between revisions
(Undo revision 738430 by Peter Vium Skaarup (Talk)) |
(Undo revision 738430 by Peter Vium Skaarup (Talk)) |
||
Line 66: | Line 66: | ||
alert($("#toc").first()); | alert($("#toc").first()); | ||
$('#mytoc').append($("#toc").first()); | $('#mytoc').append($("#toc").first()); | ||
$('#mytoc').find("#toc").attr("id", ""); | |||
//document.getElementById('mytoc').appendChild(document.getElementById('toc').firstChild); | //document.getElementById('mytoc').appendChild(document.getElementById('toc').firstChild); | ||
}); | }); |
Revision as of 11:15, 15 October 2013
<html> <style> /* ul.menu li.</html>{{{pagetype}}}<html> a {
color: cyan;
}
- /
- toc {
display: none; }
- mytoc {
background: none; width: 200px; }
.toc { border: 0px solid; }
- toc ul ul,.toc ul ul {
margin: 0 0 0 1em; }
- mytoc a,#mytoc a:visited {
font-size: normal; color: #222222; }
- mytoc a:hover {
font-weight: #009ee0; /* text-decoration: underline; */ }
- wiki-toc {
width: 200px; margin-top: 6px; float: left; }
- wiki-body {
margin-left: 200px; padding-left: 12px; padding-right: 10px; } /*
- wiki-contents A {
color: #00aeef; }
- wiki-contents A:HOVER {
color: #00aeef; }
- /
- toctitle span {
display: none; }
- wiki-body p,#wiki-body li,#wiki-body dd,div.thumbcaption {
font-size: medium; } </style>
<script type="text/javascript"> $(document).ready(function () { alert($("#toc").first()); $('#mytoc').append($("#toc").first());
$('#mytoc').find("#toc").attr("id", "");
//document.getElementById('mytoc').appendChild(document.getElementById('toc').firstChild);
});
</script> <html> <html> <div id="wiki-contents"> <div id="wiki-toc"> <table id="mytoc" class="toc" summary="Contents"> </table> <div style="text-align: right"> <p> [<a href="http://openwetware.org/index.php?title=Biomod/2013/Aarhus/Nano_Creators/</html>{{{pagename}}}<html>&action=edit">edit this page</a> ] </p> </div> </div> <div id="wiki-body"> </html>