$(document).ready(function() { $("a[rel='bildzoom']").colorbox({transition:'elastic', speed: 555, current: '{current} / {total}', close: '', previous: '', next: '', opacity: '0.75'}) });