There’s a way, but it’s a bit tricky: you could add a div with the exact dimensions of the slider and place it before the [crellyslider] shortcode. Then, once the slider is loaded, hid the div.
Anyway, your question is really interesting, I’ve added your suggestion to my to-do list. I’ll work on it as soon I have time to write the source code of the next version.
Thread Starter
shopro
(@shopro)
Thank you for the reply.
I already tested the div with same dimension and it works kinda, the problem I have with that method is that when the page is loading the div and the slider are both shown until (at least when using the slider callbacks) beforeStart : function() {$(".testholder").hide()}, it gets hidden.
Glad you have added this question to your to-do. Out of curiosity, is there any ETA when this might be released? Just thinking if I should focus energy on this or simply wait for the proper release?
I can’t provide an ETA, but it won’t be short.
Meanwhile, I suggest you to try to use
(function($) {
$(document).ready(function() {
$('#your-placeholder').hide();
});
})(jQuery);
I don’t if it will work, it’s just a test that you could do
Same request, I added a height to the parent div to reserve the space to prevent the page jumping down when the slider has loaded but it’s not ideal as the slider height is calculated dynamically.