background preloader

Jquery tutorial

Facebook Twitter

Button icons. Adding Icons to Buttons The jQuery Mobile framework includes a selected set of icons most often needed for mobile apps. To minimize download size, jQuery Mobile includes a single white icon sprite, and automatically adds a semi-transparent black circle behind the icon to ensure that it has good contrast on any background color. An icon can be added to a button by adding a data-icon attribute on the anchor specifying the icon to display. For example, the following markup: <a href="index.html" data-role="button" data-icon="delete">Delete</a> Creates this button with an icon: Delete A more compact button with the data-mini="true" attribute added to the button: Icon set The following data-icon attributes can be referenced to create the icons shown below: Left arrow - data-icon="arrow-l" My button Right arrow - data-icon="arrow-r" Up arrow - data-icon="arrow-u" Down arrow - data-icon="arrow-d" Delete - data-icon="delete" Plus - data-icon="plus" Minus - data-icon="minus" Check - data-icon="check"

ThemeRoller. jQuery CDN - provided by (mt) Media Temple. 22 Useful jQuery Animation Tutorials. jQuery Shadow Plugin. A lire - jQuery Tutorial. Blog cuisine - Animated Form Switching with jQuery. In this tutorial we will create a simple animated form switch with three very common forms.

The idea is not to leave the page when the user goes to another form but instead make the new form appear within the same container, expanding or contracting to the dimensions of the new form. […] View demoDownload source In this tutorial we will create a simple animated form switch with three very common forms. The idea is not to leave the page when the user goes to another form but instead make the new form appear within the same container, expanding or contracting to the dimensions of the new form. We will ensure that the form switch works as well when JavaScript is disabled in which case we will simply jump to the other’s form page. So, let’s begin by creating and styling the three forms. The Markup We will create three different forms, a login form, a registration form and a password reminder form with just one input field. First, we will create a wrapper for all three forms. The CSS The JavaScript. 23 Fresh And Excellent jQuery Tutorials. Top 20+ jQuery Accordion Tutorials. 27th Nov 2011 | Posted by Eko S. | 2 Comments When you want to present various section of data in a small amount of space, with keep pleasant to readers eyes and not overloaded with extra information then Accordin can be a incredibly useful.

And jQuery is ideal for creating such accordions with the minimal amount of code, clean html and good looking images. In this list article, we’ve collected 10 simple jQuery accordion tutorials that will help you to build your own. Best jQuery Accordion Tutorials Grid Accordion with jQuery by Chris Coyier I was recently building a page for a client site, where the information that they provided really made sense to present as a table. Tutorial Demo State-Saving jQuery Accordion Menu Without Reloading the Page by Michael Jacob Davis When I set out to create this site, I wanted something that: used the entire page, scaled well, looked nice, degraded gracefully and was SEO friendly.

Tutorial Demo Making accordion menu using jquery Tutorial Demo Tutorial Demo.