Template:Leanna fb
From 2010.igem.org
(Difference between revisions)
Line 56: | Line 56: | ||
<h2 class="ui-widget-header ui-corner-all" style="font-weight: bold; height: 40px; background-color: #3b5998; color: white; background-image: none;"><br> partbook</h2> | <h2 class="ui-widget-header ui-corner-all" style="font-weight: bold; height: 40px; background-color: #3b5998; color: white; background-image: none;"><br> partbook</h2> | ||
<p class = "txtContainer" style="font-family:Osaka, verdana, Sans-Serif; left: 115px; height: 15px; width: 500px; background-color: #8b9dc3; background-image: none; padding-bottom: 5px; font-weight: bold; border: none; font-size: 10px; top: -47px; text-align: right; vertical-align: bottom; color: white;" ><div id="usual1" class="usual"> | <p class = "txtContainer" style="font-family:Osaka, verdana, Sans-Serif; left: 115px; height: 15px; width: 500px; background-color: #8b9dc3; background-image: none; padding-bottom: 5px; font-weight: bold; border: none; font-size: 10px; top: -47px; text-align: right; vertical-align: bottom; color: white;" ><div id="usual1" class="usual"> | ||
- | + | <div id="usual" style="display:none;"> | |
- | + | <div class="example"> | |
- | + | <span><em>Usual use of tabs</em>View Source</span><pre></pre><div> | |
- | + | ||
- | + | <div id="usual1" class="usual"> | |
- | + | ||
- | + | <ul> | |
- | + | <li><a href="#tab1">Tab 1</a></li> | |
- | </div> | + | <li><a href="#tab2">Tab 2</a></li> |
+ | <li><a href="#tab3">Tab 3</a></li> | ||
+ | </ul> | ||
+ | <div id="tab1">This is tab 1.</div> | ||
+ | <div id="tab2">More content in tab 2.</div> | ||
+ | |||
+ | <div id="tab3">Tab 3 is always last!</div> | ||
+ | </div> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $("#usual1 ul").idTabs(); | ||
+ | </script> | ||
+ | |||
+ | </div></div> | ||
+ | |||
<script type="text/javascript"> | <script type="text/javascript"> |
Revision as of 06:23, 11 August 2010