Skip to content

Instantly share code, notes, and snippets.

@ljkfgh2008
ljkfgh2008 / CSS-Magnify.markdown
Created December 10, 2013 03:54
A Pen by Tia Aoake.
@ljkfgh2008
ljkfgh2008 / css3animation.markdown
Created December 10, 2013 03:49
A Pen by ameyraut.
@ljkfgh2008
ljkfgh2008 / CSS-Spinning-AJAX-Wheel.markdown
Created December 10, 2013 03:46
A Pen by Jabran Rafique.
var SITE = SITE || {};
SITE.fileInputs = function() {
var $this = $(this),
$val = $this.val(),
valArray = $val.split('\\'),
newVal = valArray[valArray.length-1],
$button = $this.siblings('.button'),
$fakeFile = $this.siblings('.file-holder');
if(newVal !== '') {
@davist11
davist11 / Fancy File Inputs.js
Created October 25, 2010 21:32
Fancy File Inputs
var SITE = SITE || {};
SITE.fileInputs = function() {
var $this = $(this),
$val = $this.val(),
valArray = $val.split('\\'),
newVal = valArray[valArray.length-1],
$button = $this.siblings('.button'),
$fakeFile = $this.siblings('.file-holder');
if(newVal !== '') {