Browsing articles in "Client Side Code"
Sep
23
2011

Javascript Round Number and Display Two Decimal Points

Quick tip of the Day: Javascript Rounding and always display Two Decimal Points Example:

Sep
2
2011

Get URL Variables with Javascript

Today I needed a quick function to read URL variables in JavaScript. The code had to be library/framework independent as well as be cross browser compatible. Syntax: getUrlVars(variableName) Arguments: variableName – (string, optional) The variable name to search for. Returns: If variable name provided will return the value of the variable (string), if the variable name does not exist will return false (boolean) If variable name not provided will return an object containing all key/value […]

Jun
5
2011

MooTools custom scrollbar

So I am working on an awesome project for a local restaurant Abreo in downtown Rockford IL (link will be provided upon completion) and found the need for a mootools custom scroll bar. Well not wanting to reinvent the wheel I thought I would take a peek around the web to see what was available. I found just what I was looking for in Arieh Glazer Class. Now I did find a few bugs in […]

Jun
3
2011

Introducing mootools.tipsy

Updated 08/22/2011 to version 1.0 After developing this blog I was introduced to tipsy a very popular jQuery plugin. I was so impressed with it that I thought I would take a look to see if anyone has ported it to mooTools. After poking around the “interwebs” i couldn’t find anything that I thought was close enough… So I though I would go ahead and bang out the code. No CSS styles or Images required […]

Jun
3
2011

Javascript equivalent of PHP’s in_array() function

The in_array() function of PHP is super helpful when you need to quickly check a variable against an array of possible options. I am unsure why there is not a built in equivalent for javascript. That is one of many reasons why you may want to research mooTools or jQuery and start using it in your projects. From MooTools: Array method: contains Tests an array for the presence of an item. Syntax: Arguments: item – […]

Jun
1
2011

Introducing mooTypewriter a Mootools Typewriter Class

One of the really cool things about Mootools, jQuery or almost any other javascript library or framework of your choice is the really cool effects you can create within your projects. Whether your trying to create a cool effect over an image, think flash banner javascript replacement, or if your simply trying to update the very stale non compliant html marquee, this solution may work well for you. Download, documentation and demo links will be […]

Pages:«12
Show/Hide Footer Actions

Status: Available for your project.