JSFiddle - React, Tailwind, and code Playground

by amorris

HTML

<script src="http://myemptybucket.com/jqgrid/jquery.jqGrid.min.js"></script>
<script src="http://myemptybucket.com/jqgrid/i18n/grid.locale-en.js"></script>
<link rel="stylesheet" href="http://myemptybucket.com/jqgrid/ui.jqgrid.css">
<link rel="stylesheet" href="http://myemptybucket.com/jqgrid/jquery-ui.custom.css">
<div id="wrapper"><div id="content" class="moduleArea"><div id="groups">
<div id="wbox" class="whitebox">
<div id="tabs" class="tabs">
    <ul>
        <li><a href="#tabs-1">One</a></li>
        <li><a href="#tabs-2">Two</a></li>
        <li><a href="#tabs-3">Three</a></li>
    </ul>
    <div id="tabs-1">
        <p>Test 1 Tab</p>
        <button id="button1">Test Button 1</button>
    </div>
    <div id="tabs-2">
        <p>Test 2 Tab</p>
        <button id="button2">Test Button2</button>
    </div>
    <div id="tabs-3">
        <p>Test 3 Tab</p>
        <button id="button3">Test Button3</button>
    </div>
</div>
</div>
</div></div></div>

CSS

/* http://meyerweb.com/eric/tools/css/reset/ */
/* v1.0 | 20080212 */

/* td - conflicts with jqgrid select row  */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, th, tr
 {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}


body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

/* remember to define focus styles! */
:focus {
  outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
  text-decoration: none;
}
del {
  text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

.whiteBox {
  padding: 15px;
  background-color: #f6f6f6;
  background-image: url(http://myemptybucket.com/overview_bg.png);
  background-repeat: repeat-x;
  background-position: left top;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  -khtml-border-radius: 8px;
  border-radius: 8px;
  margin-bottom:10px;
  overflow:hidden;
}
.whiteBox p {
  font-size: 18px;
  font-weight: bold;
  margin-bottom:10px;
}

#wrapper {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -75px;
}
#content {
  clear: both;
  position: relative;
  top: 10px;
  overflow:auto;
}
#content #groups {
  width: 960px;
  margin-right: auto;
  margin-left: auto;
  clear: both;
  position: relative;
}

JavaScript

$('#tabs').tabs();
$('#button1').button();
$('#button2').button();
$('#button3').button();