Team:Paris/Sandbox

From 2008.igem.org

(Difference between revisions)
 
(One intermediate revision not shown)
Line 113: Line 113:
</ul>
</ul>
</div>
</div>
 +
<script>
 +
function showTocToggle() {
 +
    if (document.createTextNode) {
 +
        var linkHolder = document.getElementById("toctitle");
 +
        if (!linkHolder) {
 +
            return;
 +
        }
 +
        var outerSpan = document.createElement("span");
 +
        outerSpan.className = "toctoggle";
 +
        var toggleLink = document.createElement("a");
 +
        toggleLink.id = "togglelink";
 +
        toggleLink.className = "internal";
 +
        toggleLink.href = "javascript:toggleToc()";
 +
        toggleLink.appendChild(document.createTextNode(tocHideText));
 +
        outerSpan.appendChild(document.createTextNode("["));
 +
        outerSpan.appendChild(toggleLink);
 +
        outerSpan.appendChild(document.createTextNode("]"));
 +
        linkHolder.appendChild(document.createTextNode(" "));
 +
        linkHolder.appendChild(outerSpan);
 +
        var cookiePos = document.cookie.indexOf("hidetoc=");
 +
        <!--if (cookiePos > -1 && document.cookie.charAt(cookiePos + 8) == 1) {
 +
            toggleToc();
 +
        }-->
 +
    }
 +
}
</html>
</html>
Line 118: Line 143:
http://css.alsacreations.com/Construction-de-menus-en-CSS/Faire-un-menu-avec-onglets-en-CSS-avec-before-after
http://css.alsacreations.com/Construction-de-menus-en-CSS/Faire-un-menu-avec-onglets-en-CSS-avec-before-after
-
<div class="collapsed">__TOC__</div>
+
__TOC__

Latest revision as of 07:29, 30 October 2008




A

Aa

Ab

B

C

D

Da

Db

Db1

Db2

Db3

E