Categories
jQuery

imgAreaSelect – image crop jQuery plugin

This is plugin for jQuery to select and image crop rectangular wise of an image as well as other user interface features such as photo notes (like those on Flickr). Features: – This is very Lightweight and highly configurable – Can customizable with CSS – Handles scaled images – Support keyboard for moving and resizing […]

Categories
jQuery

jQuery Face Detection Plugin

jQuery Face Detection Plugin – This is a jQuery plugin to detect faces over images, videos and canvases. Include jQuery library and the plugin. <script type=”text/javascript” src=”http://code.jquery.com/jquery-1.11.1.min.js”></script> <script type=”text/javascript” src=”path/to/dist/jquery.facedetection.min.js”></script> Now set a photo with some faces in your HTML page. <img id=”image” src=”img/myface.jpg”> Apply the plugin to this photo and get the face coordinates. […]

Categories
jQuery

jQuery Tiny Carousel

Based on javascript jQuery library, Tiny Carousel is a lightweight carousel to slide html based content. It gives web designers a powerful way by utilizing the dynamic lightweight to enhance user interface. Features of Tiny Carousel: Slide vertical or horizontal. Support for AMD, Node, requirejs and commonjs. Supports navigation by button or paging. Very Lightweight. […]

Categories
AngularJS

AngularJS custom directives

To extend the functionality of HTML in AngularJS, custom directives are used using “directive” function. This simply replaces the element for which this is activated. Using its compile() method AngularJS application finds the matching elements and process for one time activity. For the following types of elements AngularJS provides support to create custom directives. – […]

Categories
AngularJS

AngularJS services

AngularJs services are javaScript function that perform a specific tasks only. Using dependency injection mechanism services are normally attached. AngularJS provides some build in services i.e. $http, $route, $window, $location etc where each service is responsible for different tasks. For example, $http is used for ajax call, $route is for routing information. There are two […]

Categories
AngularJS

AngularJS dependency injection

AngularJS dependency injection is a software design pattern in which components are given their dependencies rather than hard coding within component i.e. for reusing, maintainable and testable. Following core components are injected into other as dependencies: value: This is a javaScript object used to pass values to controller during config phase. factory: This is used […]

Categories
jQuery

jQuery document viewer

jQuery document viewer is a jQuery plugin which allows you to view directly several file formats in a webpage. Supported file formats are: PDF Files Audio: mp3, m4a, oga, webma, fla Video: m4v, ogv, ogg, webmv, flv Images: png, jpg, jpeg, gif This uses the following 3rd party utilities: jPlayer pdf.js Google Code Prettify Flowplayer […]