JavaScript

Home/JavaScript

jScrollPane – a nice jQuery plugin for custom scroll bars

By |2013-04-29T13:28:24+00:00April 29th, 2013|Categories: JavaScript|

jScrollPane is a cross-browser jQuery plugin by Kelvin Luck which converts a browser's default scrollbars (on elements with a relevant overflow property) into an HTML structure which can be easily skinned with CSS. jScrollPane is designed to be flexible but very easy to use. After you have downloaded and included the relevant files in the head [...]

Passing and retrieving URL queries with JavaScript + jQuery

By |2012-12-15T07:24:53+00:00December 15th, 2012|Categories: JavaScript|

appending a query to a URL is a powerful way to pass information to new windows/ external webpages. This is accomplished by appending ‘?’ then a value to a URL ie. www.your-webpage.com/?hello There are many ways to benefit from and apply this technique – generally the idea is that the webpage will initiate a process based [...]

Storing data with Javascript, using localStorage and cookies

By |2012-12-15T02:56:11+00:00December 15th, 2012|Categories: JavaScript|

There are currently several techniques for storing/saving data and values which transcend a browsing session (offline data). Technique has slightly different results. In this post we will be looking at the implementation of Cookies, LocalStorage, HTML5 Storage using browser native languages (javascript, html5). […]

RegExp in JavaScript and AS3

By |2012-12-09T07:17:14+00:00December 9th, 2012|Categories: JavaScript|

RegExp is a testing pattern often used for validating form fields such as name, email, phone number etc. It is also possible to create custom RegExp patterns to stop particular words or numbers. Here I will explain each […]

Device Sniffing with JavaScript for mobile web

By |2012-12-09T06:52:48+00:00December 9th, 2012|Categories: JavaScript|

Often there may be a requirement to redirect a user to a mobile friendly version of a website. In many cases a responsive layout is only the first step to a ideal user experience. Due to mobile data usage restrictions, some websites will need to reduce the resource load of assets (which were created for desktop [...]

Timing and Delaying events in JavaScript

By |2012-12-09T06:08:04+00:00December 9th, 2012|Categories: JavaScript|

Being able to control the timing of events/methods is a powerful tool for controlling animations, timing game states and reducing code bottlenecks. In JavaScripts there are two methods we can use to control timed events setInterval('function', intervalTime) - This will fire the method repeatedly every X milliseconds. setTimeout('function', intervalTime) - This will fire the method once [...]

This Is A Custom Widget

This Sliding Bar can be switched on or off in theme options, and can take any widget you throw at it or even fill it with your custom HTML Code. Its perfect for grabbing the attention of your viewers. Choose between 1, 2, 3 or 4 columns, set the background color, widget divider color, activate transparency, a top border or fully disable it on desktop and mobile.