Processing of 40 CSS/JS styles and functions

Source: Internet
Author: User
Tags mootools
Designing shorttive web forms isn' t easy, as we need to figure out more practical styling and functionality techniques to provide a great user experience.

Recently there have been a number of noteworthy techniques such as styling different form fields, live validation, context highlighting, trading options from field to another, slider controls and more-using CSS and different JavaScript libraries. below we present findings of search to more than 40 tutorials and demos to showcase the capabilities and robustness of CSS and JavaScript.

You might be interested to check otherCSSRelated posts:

  • 47 + excellent Ajax CSS forms
  • Using CSS to do anything: 50 + creative examples and tutorials

1-Styling dropdown select boxes-To style a dropdown select box is heavy work. This is an experiement on how you can style select box options items.

2-<SELECT> something new, part 1-With a little Dom scripting and some creative CSS, you too can make your <SELECT> s beautiful... And you won't have to sacrifice accessibility, usability or graceful degradation.

3-Styling even more Form Controls-There are a lot of controls that can be used in an HTML form. Roger Johansson offers an extensive report on the ways you can use CSS to style Web form controls.

4-Check it, don't select it-The biggest problem with multiple-select boxes is that selecting multiple options is a pain, especially if there are enough to create a scrollbar within the box. here is a good technique for replacing the cumbersome select box with a scrollable checklist. you can check the demoHere.

5-Dropdown-XHTML/CSS/JavaScript replacement of classic selectbox-While there is no problem with styling input fields, styling selectbox is more complicated and solution isn' t perfect. This tutorial brought visualy better solution based on XHTML/CSS/JavaScript called dropdowns.

6-Masked input plugin-A masked input plugin for the jquery JavaScript library. it allows a user to more easily enter fixed width input where you wocould like them to enter the data in a certain format (dates, phone numbers, etc ). it has been tested on Internet Explorer 6/7, Firefox 1.5/2, Safari, and opera.

7-Custom checkbox with jquery-Provides the ability to customize the design of checkboxes in your web forms. You can use the default skin and the safari skin which are provided with the package.

8-Livevalidation-Livevalidation is a small open source JavaScript library for making client-side validation quick, easy, and powerful. it comprises of two main parts. firstly, it provides developers with a rich set of core validation methods, which can also be used outside the context of forms. secondly, it provides your visitors with real-time validation information as they fill out forms, helping them to get it right first time, making the forms easier, quicker and less daunting to complete.

9-Fancyform-Fancyform is a powerful checkbox replacement script used to provide the ultimate flexibility in changing the appearance and function of HTML form elements. it's easy to use and degrades gracefully on all older, non-supporting browsers.

10-Styling disabled text inputs-A disabled text input usually has a grayed-out look, and the value is not able to be modified by user input. here is how you can style them. you can also check this demo page for different examplesStyling disabled form controls with CSS

11-Prettycheckboxes-A simple jquery plugin to customize the checkboxes and radio buttons.

12-Building a Better web forms: context highlighting using jquery-Due to complexity of Web appications, sometimes you often need to find a way to focus a user on a current context. Here is a nice way of achieving this effect. Check out the demoHere

13-Control. selectmultipleThis control uses a combination of a standard select input, and a collection of checkbox inputs to create an alternative to the standard select multiple control. it's primary benefit besides a vastly improved experience for selecting multiple items is that for single item selection, it behaves like a normal select input.

14-Justify Elements Using jquery and CSS-When creating a web form you have to make a functional and always Ally aligned layout. you can do so by justifing all labels to have the same width. and the simplest way to do this is to use jquery.

15-Jquery form input example plugin-A jquery plugin to specify examples within form inputs (I. e. text fields and text areas) that disappear on user focus. Check out the demoHere.

16-Jquery-autotab-Autotab is a jquery plugin that provides auto-tabbing and filtering on text fields in a form

17-Jquery-asmselect-A progressive enhancement to "select multiple" form elements. Check out a demoHereAndHere.

18-Jquery. addtolist-A very customisable plugin that hooks into select lists. an 'open-form' event or trigger value display a form (any dom element you specific, that contains a <form> ). addtolist will then Ajax submit the form, and if it's successful, and a new item to your list. check out a demoHere.

19-Easy multi select transfer with jquery-A perfect example to demonstrate the simple and compact nature of jquery coding allowing options to be traded from one multi select to another.

20-Fvalidator-Fvalidator is an open source (free) unobtrusive JavaScript tool for easy handling Form validation. Check outExamplesHere.

21-Grow a textarea-Just make a form, and this script will add the ability to resize each textarea.

22-Jquery selectbox replacement-This is an unobtrusive jquery plugin that allows you to replace the HTML select box with a styled dropdown menu. Check out the demoHere.

23-Unobtrusive slider control v2-Sregistrers can be associated with both text input and select list form elements. All of the slider's configuration parameters shoshould be defined within the associated form element's classname check out the demoHere.

24-Jquery field plug-in-This plugin greatly expands the ability to retrieve and set values in forms beyond jquery's standard Val () method (and Mike alsup's form plug-in's fieldarray () method) by allowing you to interact with all types of form field elements (partition T input [@ type = "file"], which is a read-only element .) it works the same way for text elements as it does for radio, checkbox and select elements.

25-Jquery. ComboBox-Jquery. ComboBox is an unobtrusive way of creating a HTML type ComboBox from a existing HTML select element (s ).
A ComboBox is technically a 'select' HTML element. Check out the demoHere.

26-Checkboxes, radio buttons, select lists, custom HTML form elements-This JavaScript and CSS will allow you to use custom images for checkboxes, radio buttons and select lists.

27-Toggleformtext plug-in Example-Toggleformtext is a jquery plugin to enable help text for input fields.

28-Password field with Strength Meter-Password Strength Meter extension class for the extjs library.

29-Styling file inputs with CSS and the DOM-File inputs are the bane of beautiful form design. no rendering engine provides the granular control over their presentation designers desire. this simple, three-part progressive enhancement provides the markup, CSS, and JavaScript to address the long-standing irritation.

30-Pin plugin for prototype, remember field's values-Pin plugin for prototype which aims to remember some field's values. Check out the demoHere.

31-Accessible, JavaScript-enhanced, CSS-able form elements for mootools-A JavaScript-class (based on mootools) customformelements, which gives you the opportunity to style your own checkboxes and radiobuttons via CSS.

32-Resizeable textboxes-What we are going to create today is a textbox with resize handles on the bottom, right, and bottom-right corner. the resize handles do what you might expect CT-grabbing the right edge will let you resize the width, grabbing the bottom will let you resize the height, and grabbing the corner will let you resize either.

33-Resizeable textboxes-Browsers Do not let you Style File inputs. file style plugin fixes this problem. it enables you to use image as Browse button. you can also style filename field as normal textfield using CSS. it is written using JavaScript and jquery. check out the demoHere.

34-Jquery alphanumeric-Jquery Alphanumeric is a javascript control plugin that allows you to limit what characters a user can enter on textboxes or textareas.

35-Mootools form hints-Mootools/JavaScript form helper
Allows inline help in form input fields.

36-Multiselect-Mutliselect is a clean way to display a drop down and allow multiple options to be selected with just the mouse and without taking up more room that you need. with just a single line of code, multiselect styles up any select with a new and simple drop down. check out the exampleHere.

37-Watermark input plugin-This is a watermark input plugin for jquery. currently this is a beta release. This simple plugin allows forms with limited space to display additional information about the contents of a field.

38-Select Box Manipulation

39-Spinner ControlHow to integrate spinner control on your form inputs.

40-AutohelpSometimes it's important to tell the user what's expected of him. Especially when filling out a complicated form. This plugin uses the title attribute to display help in a separate Dom element.

41-Custom select boxes with jquery-A working example of a jquery custom select box with icons. Check out the demo here

 

Source:Http://www.noupe.com/css/form-elements-40-cssjs-styling-and-functionality-techniques.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.