schueller.me / projects / jquery-plugins


jQuery.inputFileWidth

Sets the width of a file input element (also in Firefox!)

An input file element (displayed in Firefox), with and without the inputFileWidth plugin The jQuery.inputFileWidth plugin sets the width of an input file element. Normally this can done with CSS, but the Firefox browser don't support this. This plugin used a workaround to set the width also in Firefox. It used the size attribute from the input element to change the width. The calculated size is unfortunately only a approximation to the real size, so there can be a deviation of some pixels to the desired size.

Demo, Download


jQuery.centerFloatedList

Centers a list with floated list items

A centered floated list CenterFloatedList is a jQuery plugin that centers a list with floated items, as a picture gallery.

Required jQuery 1.4.2 or higher.

Demo, Download