AJAX file upload
posted in ExperimentsEver wanted to upload files using AJAX like in GMAIL, without reloading the page? Now you can. Cross browser method to upload files using AJAX in only 1Kb of code. Read more »
Javascript trim
posted in JavascriptIn programming, trim is a string manipulation function or algorithm. The most popular variants of the trim function strip only the beginning or end of the string. Typically named ltrim and rtrim respectively. Read more »
CSS drop shadow
posted in ExperimentsTechnique to build flexible CSS drop shadows applied to arbitrary block elements. Most of the existing techniques for creating element shadows use images, this one doesn’t. IT uses plain simple CSS. Have a look below. Read more »
CSS clearfix
posted in CSSThe problem happens when a floated element is within a container box, that element does not automatically force the container’s height adjust to the floated element. When an element is floated, its parent no longer contains it because the float is removed from the flow. You can use 2 methods to fix it: Read more »
Javascript url decode, encode
posted in JavascriptYou can use this Javascript to encode / decode url parameters. Script is fully compatible with UTF-8 encoding. Read more »
