the power of HTML5 i’d say. this is pretty bad ass. thanks $su bash for sharing this

fork over on git hub http://hakim.se/experiments/css/domtree/
the power of HTML5 i’d say. this is pretty bad ass. thanks $su bash for sharing this

fork over on git hub http://hakim.se/experiments/css/domtree/
this is pretty cool. its Super marrio bros in uber large pixel form. normally we would see millions of pixels when we are playing any game. this has been condensed to 64 pixels (8×8). pretty awesome. another thing is you can make your own. visit www.bradsprojects.com
We’re kidding about the kids and ice cream, but we have found a pint lock. made especially from B&J’s (Ben and Jerry’s).

ever wanted to find out the last day in a current month, well now you can.
[code type="javascript"]
//last day date function
Date.prototype.lastDay = function() {
var mth = this.getMonth();
adjusted_mth = mth+1; // fix for array values;
var year = this.getFullYear();
var leap = 0;
if(year%400 === 0 || (year%100 != 0 && year%4 === 0)) {
leap = 1;
}
switch(adjusted_mth) {
case 2:
lastday = 28;
if(leap) {
lastday = 29;
}
break;
case 1: case 3: case 5: case 7: case 8: case 10: case 12:
lastday = 31;
break;
default:
lastday = 30;
break;
}
return year+'-'+adjusted_mth+'-'+lastday;
};
#use
Date.lastDay()
[/code]