Posts Tagged ‘Javascript’

Validatious is an unobtrusive & easy to use JavaScript form validation library that does not depend on any JS frameworks.

It has built-in validators like numeric, e-mail, URL, max/min char, etc. & custom ones can be created.

JavaScript Form Validation

Using the library, it is possible to create chained validation rules like: validate( "email".is("required").andIsAn("email") );.

How and when Validatious does validation, how it displays errors & more can be controlled.

The library supports multilingual error messages with the help of a language file or overriding pre-built ones.

  • Tags:
  • Filed under: Forms, Goodies
  • 2 Comments
  • Gaya Design is featuring a very nice tutorial (with source) on creating an image slider with a progress bar.

    The slider uses the powerful jQuery Cycle plugin (see WRD post) which can rotate images with various effects.

    Image Slider With Progress Bar

    The progress bar is created automatically to reflect the number of images that wi,ll be displayed.

    Besides the look & feel of the slider, variables like speed of the slideshow & transitions can be set too.

    Here are several examples provided to better findout how it functions.

    Thematic maps are very useful when describing statistical data about places. The data, simply, becomes much easier to understand.

    Cartographer is a JavaScript library for creating thematic maps on Google Maps which supports custom styling.

    It is only a one JavaScript file that relies on the powerful Raphael.js vector-graphics library.

    Cartographer

    It supports 3 visualizing types:

    • Chloropleth (color coded regions)
    • Pie charts
    • Point clusters

    The areas on maps are mentioned as latitudes or regions (depending on the type) which means no hacking or manual calculations.

    Every visualization type comes with different options like colors, opacity, stroke & more.

    P.S. The library is currently on alpha state but pretty solid.

    Mu is a JavaScript library for enabling Facebook Connect on any website with ease.

    It makes accessing the following possible:

    • Identity: the user's name, photo and more
    • Social Graph: the user's friends and connections
    • Distribution: the Stream, and the ability to communicate
    • Integration: publishers, canvas pages, profile boxes & tabs

    Mu JavaScript Library

    Mu is lightweight can be used with other libraries with no conflicts.

    There is also a console provided for experimenting the Mu APIs.

    Script.aculo.us is the most widely used add-on for the Prototype JavaScript Framework with the features like animations, drag'n drop, Ajax control & more.

    Its second version, renamed as Scripty2, is out with a complete rewrite. It is lightweight (5kb compressed), flexible & works faster.

    Scripty2

    The library is currently in alpha status & there are still parts that need to be developed or improved. On the other hand, it is very promising & already being used by several big projects.

    And, besides the Scripty2 homepage itself, the demos show how it will be empowering Prototype JS.

    Floom is a MooTools slideshow plugin that can present images & their captions beautifully.

    It displays them with a blind-effect & a chic loader that shows when the next image will be shown.

    MooTools Slideshow Plugin

    The plugin has various options like:

    • defining the number of blinds between transitions
    • slideshow interval
    • loader on/off
    • captions on/off

    To mention, Floom is not a complicated script, rather, it is a lightweight (4kb compressed) one with very few features (just auto-slides images) which is sometimes "what is needed".

    P.S. The download link in the website, currently, has a typo. You can use this address until it is fixed.

    eCSStender is an open source JavaScript library, created by Aaron Gustafson, that helps browsers (including IE6) pay attention to the CSS code you write.

    It aims to prevent the usage of browser-specific properties & hacks but make leaner & meaner CSS possible.

    eCSStender

    eCSStender is an extendible library with its API support & has ready-to-use extensions like CSS3 selectors, @font-face, rotation & more.

    How does it work?

    • it loops through the document's stylesheets and begins collecting information
    • parses the rules it understands
    • checks if the parsed rules are supported by the extensions
    • applies the supported rules to the document via JavaScript

    Read the rest of this entry »

    Calender Eightysix is an unobtrusive calendar & datepicker that is built with MooTools.

    It offers a very easy-to-use navigation for jumping back / forth between months, years & decades without drop-down boxes.

    MooTools Calendar EightySix

    The script is lightweight (9.5kb) & can be themed via CSS (3 themes are already included).

    It has a bunch of options for maximum customization like setting:

    • default date on load
    • min-max dates of the calendar
    • date format
    • unpickable days/weeks
    • durations between slides, fades, toggles
    • the calendar start date (Monday – Sunday)
    • & more..

    P.S. It is also the successor of the popular Vista-like Ajax Calendar (WRD post).

    Ad Gallery is a jQuery plugin for creating an image gallery/showcase quickly.

    The plugin uses unordered lists & converts them by offering lots of options for a better customization.

    jQuery Image Slider

    Some features of the plugin are:

    • auto-start from any image
    • keyboard navigation support
    • custom effects like slide, fade..
    • show image descriptions
    • clicking the images close to the next-prev buttons will call more thumbnails
    • work as a slideshow with start-stop buttons
    • & more..

    Ad Gallery preloads the images for a flawless display, however, if the image to be shown is not preloaded, it displays a loader & waits for the image to load.

    And, depending on the image size to be presented, it auto-arranges the dimensions of the "container div" for a better fit.

    Anyone who visited Mashable lately, the popular social news website, might have seen the "drag to share" functionality which appears when hovering an image.

    It is a smart technique which encourages visitors to share a story by offering a quite fun usage.

    Drag To Share With jQuery

    Nettuts+ is sharing a very nice tutorial (with source) that enables you to implement this feature using jQuery & jQuery UI.

    It makes use of the draggable & droppable components of jQuery UI to make drag’n dropping & targeting objects possible.

    To see how it works, a demo is provided as well.

    feed-holder
    FeedBurner
    • PSD to HTML
    • RapidxHTML - Converts Your PSD into XHTML Rapidly
    • activeCollab | Project Management
    Manage your clients email marketing with sendcube
    • MailChimp
    • PSD to HTML
    • 17% Off Web Hosting Sale - eTecc Web Hosting

    Vivvo CMS - Web Publishing at your Fingertips

    Popular Posts


    Cheap SSL Certificates