15
You could also try this:
$('.colorbox').live('click',function(e){
e.preventDefault();
$(this).colorbox({open:true});
});
I think it's a little cleaner then using the fn command.
I was having the same problem as @sunburst with having to click the trigger link twice. Used the same code, but .delegate() instead of .live(). Solved everything and cleaned up my jQuery nicely!
Nice explanation here: http://www.alfajango.com/blog/the-difference-between-jquerys-bind-live-and-delegate/