Latest Post

jQuery – Product trailer

Here’s a short snippet of jQuery I have built to enable an horizontal product trail. It simply calculate the size of the container and the size of each slide, and generate the sliding mechanism to go next and previous. That’s [...]

bower_grunt

Twitter Bower & Grunt: Get started with assets management

You may have found yourself downloading latest version of your favourites JS or LESS packages every time you created a new website or app project, or even worse copy and pasted assets from an old website. In this article, I [...]

angularjs-solo

AngularJS: useful tips to get started

AJAX POST calls: CSRF token for Django In order to pass in the required CRSF token for Django POST requests, we can config our Angular module to add the X-CSRFToken POST header parameter on every call. To do so, set a [...]

angularjs

AngularJS on IE7 not working: how to fix it.

We must tag accordingly The main issue with IE7 is its lack of support for HTML5 tags, so we have to tag our AngularJS HTML template accordingly to make sure it will load our app. So here’s how it got [...]

facebook-iframe

Facebook page tab: hide scroll bars from iframe

In the following case, we are using an iFrame to render a page tab in our Facebook page. The page in the iFrame is hosted on a different server. 1. First of all, we need to setup the Facebook app [...]

Live Twitter feed using jQuery, filter by username and # tags

There’s a few jQuery plugins out there that allow you to dynamically fetch tweets to your web page, making Twitter integration an easy task. Though, you may want to fetch specific kind of tweets to your website. I’m case I [...]

Cool effect: JQuery Cycle, for HTML slideshow

There’s a cool JQuery plugin which allows you to slide pieces of HTML one after the other, more than sliding photos, you can slide block of image, text, links and more. Just give it a go! http://jquery.malsup.com/cycle/ Example: // The [...]