Posts tagged "JavaScript"

February 09 2016

CSS3 - Sticky Header on Scroll Example

How to add an animated sticky header to a website using almost pure CSS with just a touch of javascript.
January 31 2016

AngularJS - Pagination Example with Logic like Google

Google style pagination logic in AngularJS and JavaScript.
November 07 2015

AngularJS - Google Analytics with the UI Router

This is a quick post to show how to setup Google Analytics page/route tracking in an Angular application that uses the UI Router.
May 26 2014

AngularJS Basic HTTP Authentication Example

An example of how to setup a simple login page with HTTP Basic Authentication using AngularJS, and also keep the user logged in after the page is refreshed.
April 18 2014

Post a simple string value from AngularJS to .NET Web API

How to post a simple string parameter in the body of an HTTP request from AngularJS to ASP.NET Web API
March 25 2014

AngularJS - A Better Way to Implement a Base Controller

The simplest way to setup controller inheritance in AngularJS.
February 15 2014

AngularJS - Reverse Geocoding Directive

This is a little custom AngularJS directive that converts GPS coordinates (latitude/longitude) into an address, otherwise known as reverse geocoding, using the Google Maps API.
May 08 2012

Add HTML5 placeholder support to older browsers

This is a handy javascript function that I use on a lot of my sites to ensure that the html5 placeholder attribute is supported by older browsers.
December 16 2011

jQuery Searchable DropDown - fixes for IE9 bug and dynamically added items

I recently tried out the jQuery Searchable DropDown (v1.0.7) from http://jsearchdropdown.sourceforge.net/ and it worked perfectly except for 2 things:
November 18 2011

Validate date dropdown lists with JavaScript / jQuery

A simple javascript function for validating a date that's input using 3 dropdown lists
Sponsored by