Clone Colorbox Image Link with JQuery I need to clone a colorbox image link (the first of all colorbox links on the loaded page) and add it onto a div-tag. how could I do that with javascript/jquery? thnx!
I found this solution:

        $('#main-stuff').append('&lt;div id="bgImgOverlay"&gt;&lt;/div&gt;').css("cursor","pointer");
        $('#bgImgOverlay').click(function() {
            $("a[rel='gallery-all']").colorbox({open:true});
         });