BumbleB2na's public fiddles
-
Sort JavaScript Array Of Objects
helper function that sorts a javascript array of objects by an object parameter and lets you sort in ascending or descending order
-
C7dwS
jQuery 1.6.3, HTML, CSS, JavaScript
-
ySZAJ
jQuery 1.6.3, HTML, CSS, JavaScript
-
gBrwV
jQuery 1.6.3, HTML, CSS, JavaScript
-
Z8wkj
Mootools 1.3.2, HTML, CSS, JavaScript
-
HTML5 Input for Currency Format
Best way I could find to accept currency format in an input field. To use regex pattern, input field must be type="text" instead of type="number". Noticed that commas seem to get submitted in a funny way if either type="text" or type="number" is set (submitted as HTML-encoded values)
-
h42Rw
jQuery 1.6.2, HTML, CSS, JavaScript
-
8X85W
Mootools 1.3.2, HTML, CSS, JavaScript
-
2Z6vy
jQuery 1.6.2, HTML, CSS, JavaScript
-
Vertically align images with text
Vertically align small images with text on the same line.
-
Horizontally Center page FOOTER container that persists 100% Height
use jQuery/JavaScript to detect when the page is shown, resized, or if a mobile device's orientation changed. When either of these events fire, check the content container's height. If the content area's height can be expanded so that the page footer becomes flush with the bottom of the viewable area, then expand the height of the content area container so that the footer is pushed down and its bottom matches the maximum height of the viewable area. Content may overflow outside of the viewable area if it is too big.
-
Text Effect
jQuery 1.6.2, HTML, CSS, JavaScript
-
BRg5C
jQuery 1.6.2, HTML, CSS, JavaScript
-
JS Namespaced Public Classes with Inheritence
all members and methods are public - the function's required parameters work like a constructor to initialize an instance of the class
-
FZ9NZ
jQuery 1.6.2, HTML, CSS, JavaScript
-
GvqDN
Mootools 1.3.2, HTML, CSS, JavaScript
-
Horizontally Center page content container that persists 100% Height
use jQuery/JavaScript to detect when the page is shown, resized, or if a mobile device's orientation changed. When either of these events fire, check the content container's height. If the content area's height can be expanded so that the page footer becomes flush with the bottom of the viewable area, then expand the height of the content area container so that the footer is pushed down and its bottom matches the maximum height of the viewable area. Content may overflow outside of the viewable area if it is too big.
-
qN64J
jQuery 1.6, HTML, CSS, JavaScript
-
fJf35
jQuery 1.6, HTML, CSS, JavaScript
-
JS Public Class with Inheritance
all members and methods are public - the function's required parameters work like a constructor to initialize an instance of the class