Recently I had to use CSS3’s calc() value for a website I was designing and it seemed ridiculous to include a whole library (Modernizr) for just 1 CSS property’s value. So I decided to write a small script to detect if calc was supported by the browsers or not (and it seems like it’s rather similar to Modernizr’s way of detecting it).
I’m certain a lot of you have had this issue in the past, I did too. So, let me demostrate to you have to quickly solve this issue without almost no change in your current code.
We all know and love JQuery’s callback and since I love it so much I wanted to replicate when I started recreating codemagic. It seems like it’s rather easy to do, all you have to do is add another parameter named
callback (you can name it whatever you want, I just prefer it this way) and after checking wether the parameter is a function, execute it before the end of the container function.
Table of Content
It seems like there is no documentation for Dropplets’ templates, so I did some digging and found the variables and functions that can be used for template development.
I’d like to welcome you to the refreshed AKLP.gr. In the past this domain name was used for a few other blogs of mine, one being the tech news blog and the other was a bit of a collection of guides and tips for linux distros.