The usual way to assign colorbox functionality on a link is like this:
$("a.colorbox").colorbox({ transition: "elastic" });
Newly added itmes are not bound in this way though.
How can I add colorbox to dynamically created <a class="colorbox"></a>
elements too?