FLAPPER

https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js
http://transform/dist/jquery.transform-0.9.3.min.js
http://jshashtable-2.1/jshashtable.js
http://numberformatter/jquery.numberformatter-1.2.3.min.js
http://src/jquery.flapper.js

$(document).ready(function() {
var $header_display = $(‘#header_display’);
$header_display.flapper({
width: 7,
chars_preset: ‘alpha’
});

var $demo_slow = $(‘#animation_demo input.slow’);
var $demo_fast = $(‘#animation_demo input.fast’);

var demo_timing = 500;
var demo_chars = [‘ ‘,’0′,’1′,’2′,’3′,’4′,’5′,’6′,’7′,’8′,’9’];

$demo_slow.flapper({
width: 1,
chars: demo_chars,
timing: demo_timing,
});

$demo_fast.flapper({
width: 1,
chars: demo_chars,
timing: demo_timing,
transform: false
});

var $demos = $(‘#animation_demo input’);

setTimeout(function(){
$header_display.val(‘FLAPPER’).change();
$demos.val(9).change();
var toggle = false;
setInterval(function(){
if (toggle) {
$header_display.val(‘FLAPPER’).change();
$demos.val(9).change();
} else {
$header_display.val(”).change();
$demos.val(”).change();
}
toggle = !toggle;
}, 5000);
}, 1000);

$(‘#size_demo input’).flapper({
width: 1,
chars: [‘9′]
});
});

html,
body {
margin: 0px;
padding: 0px;
overflow-x: hidden;
background-color: white;
font-family: Helvetica, Arial, sans-serif;
}

#banner {
margin: 0px 0px 24px 0px;
padding: 24px;
background-color: #111;
background-image: url(img/brushed.png);
border-bottom: 2px solid black;
text-align: center;
}

#content {
width: 800px;
margin: 0px auto;
}

.section {
clear: both;
margin: 0px 0px 56px 0px;
}

h1 {
font-size: 18pt;
margin: 56px 0px 56px 0px;
line-height: 1.4em;
}

h2 {
font-size: 14pt;
margin: 0px 0px 12px 0px;
line-height: 1.4em;
}

p {
line-height: 1.8em;
margin: 0px 0px 24px 0px;
}

a {
color: #555;
font-weight: bold;
text-decoration: none;
}

.links {
position: relative;
width: 176px;
height: 78px;
float: right;
margin: 0px 0px 24px 24px;
padding: 22px 0px 0px 90px;
background: #eee;
}

.links img {
position: absolute;
top: 16px;
left: 16px;
margin: 0px 16px 0px 0px;
vertical-align: baseline;
}

.links a {
margin: 4px 0px;
font-size: 14pt;
line-height: 22px;
font-weight: bold;
color: #333;
text-decoration: none;
display: block;
}

.snippet {
margin: 36px 0px;
padding: 16px;
background: #eee;
border-width: 2px;
border-color: #ddd;
border-style: dashed;
}

#size_demo {
margin: 56px 0px 0px 0px;
}

#size_demo .display {
display: inline-block;
}

#animation_demo {
float: left;
margin: 6px 24px 56px 0px;
}

#animation_demo div.display {
display: inline-block;
}

#animation_demo label {
display: block;
font-size: 8pt;
color: #333;
text-align: center;
}

#animation_demo .button {
text-align: center;
margin: 8px 0px 0px 0px;
}

#animation_demo button {
width: 100px;
color: white;
border: 2px solid #3c0702;
font-family: Helvetica, Arial, sans-serif;
font-weight: bold;
font-size: 10pt;
letter-spacing: .3em;
text-transform: uppercase;
text-shadow: 0px 0px 4px black;
border-radius: 4px;
padding: 8px;
background: #a81e03; /* Old browsers */
background: -moz-linear-gradient(top, #a81e03 0%, #8e1a02 44%, #6b1100 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a81e03), color-stop(44%,#8e1a02), color-stop(100%,#6b1100)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #a81e03 0%,#8e1a02 44%,#6b1100 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #a81e03 0%,#8e1a02 44%,#6b1100 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #a81e03 0%,#8e1a02 44%,#6b1100 100%); /* IE10+ */
background: linear-gradient(to bottom, #a81e03 0%,#8e1a02 44%,#6b1100 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=’#a81e03′, endColorstr=’#6b1100′,GradientType=0 ); /* IE6-9 */
}

#animation_demo button:active {
position: relative;
top: 1px;
left: 1px;
background: #8c1702; /* Old browsers */
background: -moz-linear-gradient(top, #8c1702 0%, #721502 44%, #4c0a00 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#8c1702), color-stop(44%,#721502), color-stop(100%,#4c0a00)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #8c1702 0%,#721502 44%,#4c0a00 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #8c1702 0%,#721502 44%,#4c0a00 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #8c1702 0%,#721502 44%,#4c0a00 100%); /* IE10+ */
background: linear-gradient(to bottom, #8c1702 0%,#721502 44%,#4c0a00 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=’#8c1702′, endColorstr=’#4c0a00’,GradientType=0 ); /* IE6-9 */
}

/* Greetz @deadlyicon
* https://gist.github.com/2191622
*/
#fork-me {
width: 180px;
height: 150px;
position: absolute;
top: 0px;
right: 0px;
overflow: hidden;
}

#fork-me a {
display: block;
position: absolute;
top: 35px;
right: -75px;
padding: 0.75em 4em;
background: #881c15;
-webkit-transform: rotate(40deg);
-moz-transform:rotate(40deg);
-o-transform:rotate(40deg);
-ms-transform:rotate(40deg);
color: white !important;
font-weight: bold;
font-family: helvetica;
text-decoration: none;
border: 1px solid white;
box-shadow: 0 0 10px black;
text-shadow: 0 0 10px black;
white-space: nowrap;
}

#footer {
margin: 24px 0px 0px 0px;
padding: 36px 14px 36px 14px;
color: white;
background-color: #111;
background-image: url(img/brushed.png);
border-top: 2px solid black;
text-align: center;
text-shadow: 2px 2px 4px black;
}

#footer h2 {
font-size: 12pt;
font-weight: normal;
}

#footer p {
color: #ccc;
font-size: 9pt;
}

#footer a {
color: #aaa;
text-decoration: none;
font-weight: bold;
}

Flapper is a jQuery plugin that replicates the
split-flap (or “Solari”) displays that used to be common in train stations and airports.

These displays used a rotating stack of letters and numbers printed on hinged panels. As the stack
rotated, a new symbol would fall into place. Flapper recreates this effect using CSS transformations.

Flapper can display words or numbers, with or without formatting. It’s ready to use with six sizes,
two color themes, and two animation styles. Best of all, it’s written entirely in HTML and CSS,
so you can make it look however you’d like.

For best results, Flapper requires the numberformatter
and transform jQuery plugins. But, it can also
be used on its own with fewer special effects.

with
transform
without
transform

Two Animation Effects

Flapper’s two animation modes allow you to design with special effects without affecting the performance
of your page. Choose from gorgeous and detailed or quick and minimalistic.

Words and Numbers

Flapper can display any text or numeric sequence. It comes with presets for numeric, alphabetic, and alphanumeric
displays. You can configure Flapper to display any symbols or international characters that you require.

Six Sizes and Two Colors

Flapper comes with six size presets and two color schemes, so you can quickly drop it into your page.

Themeable

Customize Flapper with your own fonts, colors, and gradients. Run the digits together, or space
them far apart. Tweak Flapper’s default styles, or create your own from scratch.

Easy-to-Use

Simply attach Flapper to any input element anywhere on your page.
Flapper will hide the element and replace it with a numeric display. Then, it will listen
for change events on the element’s value and update the display automatically.

<input id="display" />

<script language="JavaScript">
    $('#display').flapper(options).val(12345).change();
<script>

Any time the input’s value changes, just call change() to update the display.
Flapper takes care of the rest.

Start Using Flapper

Head over to Flapper’s GitHub page to download
the code and read the documentation. Flapper is released under the MIT license, which allows
redistribution and modification with attribution.

(function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,’script’,’//www.google-analytics.com/analytics.js’,’ga’);

ga(‘create’, ‘UA-20194861-3’, ‘auto’);
ga(‘send’, ‘pageview’);