JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css">
<link rel="stylesheet" href="http://manos.malihu.gr/tuts/custom-scrollbar-plugin/demo_files/jquery.mCustomScrollbar.css">
<script src="http://manos.malihu.gr/tuts/custom-scrollbar-plugin/mCSB_buttons.png"></script>
<script src="http://manos.malihu.gr/tuts/custom-scrollbar-plugin/jquery.mCustomScrollbar.js"></script>
<script src="http://manos.malihu.gr/tuts/custom-scrollbar-plugin/jquery.mousewheel.min.js"></script>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="http://manos.malihu.gr/tuts/custom-scrollbar-plugin/demo_files/jquery.mCustomScrollbar.css" />
<style>
html,body{
height:90%;
}
.fill {
height: 100%;
}
#content { padding:5px; padding-left:20px; background:#999; border-radius:5px; height: 50%; overflow:auto;
border:1px solid #333333; margin-top:10px; }
#input { border-radius:2px; border:1px solid #ccc; width: 90%;
margin-top:10px; padding:5px; margin-left:10px; }
#users { border-radius: 5px; height: 50%; background:#2C2C2C; margin-top:10px; }
#status { display:block; float:left; margin-top:15px; font-weight: bold; margin-left:10px; }
#header { height: 5%; background-color: grey; padding: 20px;}
#container { margin-top: 40px; }
</style>
</head>
<body>
<div id="container" class="container fill">
<div class="row fill">
<div id="users" class="span3 offset1">
<div class="navbar-inner"><h2...
CSS
/*!
* Bootstrap v2.0.4
*
* Copyright 2012 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
*/
.clearfix {
*zoom: 1;
}
.clearfix:before,
.clearfix:after {
display: table;
content: "";
}
.clearfix:after {
clear: both;
}
.hide-text {
font: 0/0 a;
color: transparent;
text-shadow: none;
background-color: transparent;
border: 0;
}
.input-block-level {
display: block;
width: 100%;
min-height: 28px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
display: block;
}
audio,
canvas,
video {
display: inline-block;
*display: inline;
*zoom: 1;
}
audio:not([controls]) {
display: none;
}
html {
font-size: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
a:focus {
outline: thin dotted #333;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
a:hover,
a:active {
outline: 0;
}
sub,
sup {
position: relative;
font-size: 75%;
line-height: 0;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
img {
max-width: 100%;
vertical-align: middle;
border: 0;
-ms-interpolation-mode: bicubic;
}
#map_canvas img {
max-width: none;
}
button,
input,
select,
textarea {
margin: 0;
font-size: 100%;
vertical-align: middle;
}
button,
input {
*overflow: visible;
line-height: normal;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
padding: 0;
border: 0;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
cursor: pointer;
-webkit-appearance: button;
}
input[type="search"] {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
-webkit-appearance:...
JavaScript
/*
== malihu jquery custom scrollbars plugin ==
version: 2.1
author: malihu (http://manos.malihu.gr)
plugin home: http://manos.malihu.gr/jquery-custom-content-scroller
*/
(function($) {
var methods = {
init: function(options) {
var defaults = {
set_width: false,
/*optional element width: boolean, pixels, percentage*/
set_height: false,
/*optional element height: boolean, pixels, percentage*/
horizontalScroll: false,
/*scroll horizontally: boolean*/
scrollInertia: 550,
/*scrolling inertia: integer (milliseconds)*/
scrollEasing: "easeOutCirc",
/*scrolling easing: string*/
mouseWheel: "auto",
/*mousewheel support and velocity: boolean, "auto", integer*/
autoDraggerLength: true,
/*auto-adjust scrollbar dragger length: boolean*/
scrollButtons: { /*scroll buttons*/
enable: false,
/*scroll buttons support: boolean*/
scrollType: "continuous",
/*scroll buttons scrolling type: "continuous", "pixels"*/
scrollSpeed: 20,
/*scroll buttons continuous scrolling speed: integer*/
scrollAmount: 40 /*scroll buttons pixels scroll amount: integer (pixels)*/
},
advanced: {
updateOnBrowserResize: true,
/*update scrollbars on browser resize (for layouts based on percentages): boolean*/
updateOnContentResize: false,
/*auto-update scrollbars on content resize (for dynamic content): boolean*/
autoExpandHorizontalScroll: false /*auto-expand width for horizontal scrolling: boolean*/
},
callbacks: {
onScroll:...