jQuery plugins: timeago, stepy, datepicker

Here some useful jQuery plugins that I use in my projects.

timeago: timeago jQuery plugin provides convert timestamp values to relative time.
Example:
September 20, 1995

jQuery(document).ready(function() {
jQuery("abbr.timeago").timeago();
});

It would look :

If you want to support timestamps in the future, you can set it like:


$.timeago.settings.allowFuture = true;

Then it would look :

stepy: stepy jQuery plugin provides create custom wizard that based on FormToWizard.
Example:



Description of step 1


Description of step 2



jQuery(document).ready(function() {
$('#form_stepy').stepy({
block: true,
titleClick: true
});
});

It would look :

datepicker: datepicker jQuery plugin provides to use a popup calendar input fields.
Example:

Date:



jQuery(document).ready(function() {
$(function() {
$( "#mydatepicker" ).datepicker();
});
});

It would look :

plugins websites are: timeago stepy datepicker
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s