All posts tagged lightbox

Using backbone.js with jQuery UI Modals

In backbone, the views control all the events that are happening “in this part of html code” (in other words, your associated template). This is really good for decoupling your code and makes for a very good code structure but can be a headacke when trying to control popups.

Events in Backbone are handled automatically with jQuery delegates, thing is, the dom element that delegates all the events need to be outside the view or declared when the view is… Read the rest