/ Published in: HTML

Say you wanted the following 4 tabs: bodoni, helvetica, frutiger, univers, each outputting a separate block view of 3 teasers each. This is what your markup would look like:
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<div class="drupal-tabs"> <!-- These are the actual tab labels. They are always visible, the current tab's a will have an 'active' class --> <ul class="anchors"> </ul> <!-- These are the individual tabs. All but the currently selected tab will be hidden --> <div id="bodoni"> <?php print $bodoni ?> </div> <div id="frutiger"> <?php print $frutiger ?> </div> <div id="helvetica"> <?php print $helvetica ?> </div> <div id="univers"> <?php print $univers ?> </div> </div>
Comments
