getting data from server freezes all animations
getting data from server freezes all animations
Hi Allen,
i put an animated gif in the processing div instead of a string. Problem is, that the animation stops while the div is visible (i tested it with the same gif on another place on the website. Animation runs smooth until requesting new data from server. Then animations stops and when the processing div vanish, the animations goes further. Any idea?
Some code:
[code]
[...]
$.fn.dataTableExt.oApi.fnReloadAjax = function ( oSettings, sNewSource, fnCallback ) {
if ( typeof sNewSource != 'undefined' ) {
oSettings.sAjaxSource = sNewSource;
}
this.oApi._fnProcessingDisplay( oSettings, true );
var that = this;
$.getJSON( oSettings.sAjaxSource, null, function(json) {
// alten Kruscht l
i put an animated gif in the processing div instead of a string. Problem is, that the animation stops while the div is visible (i tested it with the same gif on another place on the website. Animation runs smooth until requesting new data from server. Then animations stops and when the processing div vanish, the animations goes further. Any idea?
Some code:
[code]
[...]
$.fn.dataTableExt.oApi.fnReloadAjax = function ( oSettings, sNewSource, fnCallback ) {
if ( typeof sNewSource != 'undefined' ) {
oSettings.sAjaxSource = sNewSource;
}
this.oApi._fnProcessingDisplay( oSettings, true );
var that = this;
$.getJSON( oSettings.sAjaxSource, null, function(json) {
// alten Kruscht l
This discussion has been closed.
Replies