Monday, September 8, 2014

In this post we quickly enumerate a few JQuery plugins:
Alertify : raises alerts and messages 
iCheck : for form controls and beautiful flat-style skins
LongPress: is a JQuery plugin that eases the writing of accented or rare characters.
File Upload : is  a widget that lets multiple file upload.
Complexify : is a widget that checks password strength
Pickadate  : is a widget for choosing date.
Chosen : is for converting a select input list into a dropdown
FancyInput: is a JQuery plugin that makes entering or deleting text easy
Typeahead : is a autocomplete library by Twitter.
Parsley : is an unobtrusive form validation library
Windows : lets you take up the whole screen for your page
Sticky : lets your elements stay on the page while scrolling
Scrollorama: is for cool scroll animations.
Bacon : lets you wrap text around a curved line.
Also, a quick recap of jquery utilities:
.contains () checks to see if a DOM element is contained in another DOM element.
.data () arbitrary data associated with the specified element and/or return the value that was set
.each () a generic iterator
.extend( ) merge the contents of two or more objects, used often
fn.extend() merge the contents of an object into a jQuery prototype to return new instance methods.
globalEval() execute some JavaScript globally
grep() finds the elements of an array that satisfy a filter condition
isEmptyObject() checks to see if an object is empty()
isFunction() determines if a function passed is a Javascript function object.
isNumeric() determines if whether the argument is a number
isPlainObject() checks if an object is plain.
isXmlDoc() checks if its an xmldoc
        public static int IndexOf(int[] sorted, int start, int end, int val)
        {
            if (end < start ) return -1;
            if (sorted[start] == val) return start;
            if (sorted[end] == val) return end;
            int mid = (start + end) / 2;
            if (sorted[mid] == val) return mid;
            if (sorted[mid] < val) start = mid;
            else end = mid;
            return IndexOf(sorted, start, end, val);
        }

No comments:

Post a Comment