Parašė cropp· 2016 Kov. 18 18:03:56
#1
Sveiki, noriu pasidaryti, kad spinneris suktūsi ilgiau ar įmanoma mano kode? Gal galima uždėti kaip nors timeset ar dar kažką panašaus?
<script>
$(function() {
$( "#tabs" ).tabs({
beforeLoad: function( event, ui ) {
ui.panel.html('<img src="loading.gif" width="24" height="24" style="vertical-align:middle;"> Loading...');
ui.jqXHR.fail(function() {
ui.panel.html(
"Couldn't load this tab. We'll try to fix this as soon as possible. " +
"If this wouldn't be a demo." );
});
}
});
});
</script>