Team:Paris/Sandbox
From 2008.igem.org
(Difference between revisions)
(6 intermediate revisions not shown) | |||
Line 100: | Line 100: | ||
float: right; | float: right; | ||
margin: 1em; | margin: 1em; | ||
- | border: dotted 1px #69c | + | border: dotted 1px #69c; |
width: 13em; | width: 13em; | ||
background: #fff; | background: #fff; | ||
} | } | ||
- | |||
</style> | </style> | ||
<div id="links"> | <div id="links"> | ||
Line 114: | 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> | ||
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 | ||
+ | |||
+ | __TOC__ | ||
+ | |||
+ | |||
+ | =A= | ||
+ | ==Aa== | ||
+ | ==Ab== | ||
+ | =B= | ||
+ | =C= | ||
+ | =D= | ||
+ | ==Da== | ||
+ | ==Db== | ||
+ | ===Db1=== | ||
+ | ===Db2=== | ||
+ | ===Db3=== | ||
+ | =E= |
Latest revision as of 07:29, 30 October 2008
AAaAbBCDDaDbDb1Db2Db3E |