[How To - Lazy load] Full Screen Ajax

[How To - Lazy load] Full Screen Ajax

  
Forge Component
(17)
Published on 2014-07-15 by Francisco Menezes
17 votes
Published on 2014-07-15 by Francisco Menezes

Is there a way to use this component in conjunction with the Full Screen AJAX (https://www.outsystems.com/forge/component/1278/fullpagefeedbackajax/) so that initially when the lazy load blocks are loading the full screen AJAX doesn't appear, but then once they're all loaded it will? 


Tom Ciullo wrote:

Is there a way to use this component in conjunction with the Full Screen AJAX (https://www.outsystems.com/forge/component/1278/fullpagefeedbackajax/) so that initially when the lazy load blocks are loading the full screen AJAX doesn't appear, but then once they're all loaded it will? 


Hi Tom,

you can use Feebback_AjaxWait web block for full page loading..PFA screen shot

add RunJavaScript function on preparation....use below code


 "$('.Feedback_AjaxWait').each(function()
      {
          $(this).children('img').attr('src', '/RichWidgets/img/loading.gif?18');
      });"

Right ok thanks i will try this!