fallblatt is a lightweight jQuery plugin for animating split screens. This jQuery plugin allows you to include such offers in your web application. Everything from virtual departure and arrival panels to digital dashboards can be run with this single plugin.
getting started
Quick start
To get an overview of what Fallblatt can do, open Fallblatt.html
your browser and enjoy the show. The plugin expands the Fallblatt board to screen size and randomly picks new characters for each flap.
If you want to change the size of the flaps, you can increase or decrease the flapScale
option of the FallBlatt()
object. The plugin will always try to arrange the panels evenly within the specified box.
The entire panel design can be easily modified by changing the respective CSS classes. Take a look at the imported file.
requirements
The jQuery plugin is used as a strict dependency. Make sure to load a fresh version of jQuery before instantiating a new fallBlatt()
.
The default Fallblatt attempts to fit itself inside the original box that is provided to display the canvas. If the size of the flaps or the gauge does not allow at least one flap to be positioned, the flaps will go out with an error in the control unit.
CSS
To modify the overall style of the split canvas, you can provide a different set of classes using flapCss
.
Must Read: Half-character Style Using jQuery and CSS | Splitchar.js
How to make use of it:
1. Link to jQuery JavaScript library and Fallblatt's
information within the document.
<link href="/path/to/css/fallblatt.css" rel="stylesheet" /> <script src="/path/to/cdn/jquery.min.js"></script> <script src="/path/to/src/fallblatt.js"></script>
2. Create a container to hold the split-flap display.
<div id="splitFlapExample"></div>
3. Create a new instance of the split-flap display.
$("#splitFlapExample").fallBlatt({ // options here })
4. Display your content within the split-flap display. This returns a $.Deferred().promise()
for ready until the text is displayed.
$("#splitFlapCanvas").fallBlatt("display", { // customize position here pos: [x,y], // text to animate content: "A" });
5. Customize the animation with the next options.
$("#splitFlapExample").fallBlatt({ flapHeight: 120, flapWidth: 90, flapScale: 1, flapSpacingExtraHeight: 0, flapSpacingExtraWidth: 0, flapCharset: { // Index 0 is the default character (space) // If an unknown character is observed, the last char from the list will be used chars: " 1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ'‘?’“!”(%)[#]{@}/&\\<-_+÷×=>$€:;,.~*rbgyow", options: { // "CHAR": [List of classes to attach to this char] "(": ["splitFlapCharBrackets"], "%": ["splitFlapCharSpecial"], ")": ["splitFlapCharBrackets"], "[": ["splitFlapCharBrackets"], "#": ["splitFlapCharSpecial"], "]": ["splitFlapCharBrackets"], "{": ["splitFlapCharBrackets"], "@": ["splitFlapCharSpecial"], "}": ["splitFlapCharBrackets"], "/": ["splitFlapCharBrackets"], "&": ["splitFlapCharSpecial"], "\\": ["splitFlapCharBrackets"], "_": ["splitFlapCharExtremes"], "$": ["splitFlapCharSpecial"], ":": ["splitFlapCharExtremes"], ";": ["splitFlapCharExtremes"], ",": ["splitFlapCharExtremes"], "~": ["splitFlapCharTilde"], "*": ["splitFlapCharAsterisk"], "r": ["splitFlapCharColourBase", "splitFlapCharColourRed"], "b": ["splitFlapCharColourBase", "splitFlapCharColourBlue"], "g": ["splitFlapCharColourBase", "splitFlapCharColourGreen"], "y": ["splitFlapCharColourBase", "splitFlapCharColourYellow"], "o": ["splitFlapCharColourBase", "splitFlapCharColourOrange"], "w": ["splitFlapCharColourBase", "splitFlapCharColourWhite"] } }, flapCss: { flapContainerScaleClass: "splitFlapScaleLayer", flapContainerClass: "splitFlapContainer", flapContainerDividerBaseClass: "splitFlapContainerDividerBase", flapContainerDividerClass: "splitFlapContainerDivider", flapContainerDividerLinkLeftClass: "splitFlapContainerDividerLinkLeft", flapContainerDividerLinkRightClass: "splitFlapContainerDividerLinkRight", flapContainerCharClass: "splitFlapContainerChar" } })
Options
A new instance of fallBlatt()
accepts the following parameters:
Must Read: [Splitter/Resizer] A Simple and Easy Slider to Resize Two Side-by-Side Flexboxes
Key | Default | Comment |
---|---|---|
flapHeight | 120 | If changed, the charset also needs to be aligned. Use flapScale if you just want to change the size of the flaps. |
flapWidth | 90 | If changed, the charset also needs to be aligned. Use flapScale if you just want to change the size of the flaps. |
flapScale | 1 | |
flapSpacingExtraHeight | 0 | If the plugin renders multiple rows of flaps, you can increase their spacing. |
flapSpacingExtraWidth | 0 | If the plugin renders multiple columns of flaps, you can increase their spacing. |
flapCharset | Default charset | Provide a custom charset for the fallblatt plugin. The default charset supports a standard set of characters and colors. |
flapCss | Default CSS | Overwrite the design of fallblatt elements |
See Demo And Download

Official Website(Roosterfish): Click Here
This superior jQuery/javascript plugin is developed by Roosterfish. For extra Advanced Usage, please go to the official website.