Skip to main content
Home

Languages

  • English
  • Svenska

Freebie: Uniform jQuery Theme for styling forms

Submitted by Leander Lindahl on Mon, 10/31/2011 - 10:07

I recently discovered this great jQuery plugin for styling forms. Here's a little freebie from Popolo where we styled our own select element and merged that with the Uniform Aristo theme. Download and try the zip file attached below.

The Uniform jQuery plugin allows you with a few simple lines of code to style all those hard-to-style elements such as select lists and file uploads. In your page header, add jQuery and then the uniform jquery.uniform.js thus:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"  type="text/javascript" charset="utf-8"</script>
<script src="js/jquery.uniform.min.js" type="text/javascript" charset="utf-8"&</script>

If you are running Drupal, jQuery is already included with the system and you add the jQuery.uniform.js in your themes .info-file. After placing the css-file and the sprite.png in the appropriate catalogue you call the uniform-script:

<script type="text/javascript" charset="utf-8">
      $(function(){
        $("input, textarea, select, button").uniform();
      });
</script>

Read all about the script at the uniform.js web site.

Tags: 
forms
css
jQuery
Attached file: 
uniform.popolo.css_.zip
  • 3098 reads

Add new comment

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.

Blog

  •  La libertà guida il popolo (1830)

    Contextual links in Drupal Views

    2012-02-29 | 920 reads
  • Drupal is great. Right?

    Drupal Meetup in Malmö Feb 2, 2012

    2012-01-26 | 399 reads
  • Freebie: Uniform jQuery Theme for styling forms

    2011-10-31 | 3098 reads
  • Steppenwofl Drupal Theme

    Responsive design with Less Framework 4.0 and Drupal

    2011-10-12 | 2612 reads
  • Working with grids using 960

    2011-10-05 | 2394 reads
  • DDC Berlin

    Summary of Drupal Design Camp Berlin

    2011-06-28 | 2118 reads
  • Proximity - visual hierarchy

    Visual hierarchy in design – part I

    2011-06-15 | 1348 reads
  • Drupal.org

    Drupalträff i Malmö 24 februari

    2011-02-22 | 1021 reads

Pages

  • 1
  • 2
  • 3
  • 4
  • next ›
  • last »

Popolo AB 

MINC, Anckargripsgatan 3 
SE-211 19 Malmö

Phone +46 (0)40 26 94 20
e-mail: info@popolo.se

Senaste tweets @leanderlindahl

  • back home from #frontedunited Amsterdam. Nice to see both familiar and unfamiliar faces. Really enjoyed the talk by @realsolipsist
    3 weeks 5 days ago
  • RT @Itangalo: "Tiny Book of Rules" now available in a nice foldable layout! Cred to @leanderlindahl t.co/3UHDfTPv #drupal #rules ...
    3 weeks 5 days ago