In reference to another question I found : How can I dynamically resize the jQuery Colorbox plugin?
If I wanted to resize the colorbox inside of a callback, how would I call it? Also, would it be possible disable scrolling until the resize was complete, then enable it?
$("a[rel='colorbox']").colorbox({
onComplete: function() {
????.colorbox.resize(); // what in the world goes here to get the colorbox?
},
preloading: true
});
$.fn.colorbox.resize() works as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With