Author Archive

jQuery philosophical .is() extention

Love little snipplets that make your life better. This snipplet by @doublerebel on github, extends the .is() function in jQuery, so that if it’s used without parameters inside, will return if the DOM has been found on page Consider the following if($('#somediv').is()) { $('#somediv').ajax…. } else{ console.log('no ajax placeholder') } The script itself is pretty [...]

All you knew about javascript animation is wrong

Ok, atleast all I knew. And it’s in firefox, IE8 and Opera. But still… bare with me : A little history about browser rendering. The are 3 browser events that happen depending on stuff you change dynamically with JS in DOM. restyle – recalculation of style for affected DOM element. reflow – recalculation of flow [...]

Garbage collecting in IE with ajax heavy applicaitons

We have a very heavy Ajax application on one of our sites. It reloads block of html on the site every 5 seconds or every user click, so obviously it’s intense. I was approached by our QA and he told me that he’s computer freezes after some time the site is running. And I started [...]

Pure css3 analog clock (with a little cheat)

I love css3, have I told you already? Love it. Anyway, I wanted to see what I can do with transitions and animations in webkit, and I made this : Click the Image to see the live demo Support : Firefox + Webkit browsers In firefox I use javascript to move the properties In Webkit, [...]

Html5 video puzzle – proof of concept

I’ve decided to learn more about html5, since Google and Apple and a lot of these BIG companies say it’s the future. I went to http://canvasdemos.com and was amazed that all this can be achieved with canvas tag. I specifically liked the blowing up video into pieces , check it out, it’s AWESOME. Sean from [...]