I guess you have to use ajax to load the page
for example use js
jQuery('#target').html("<span class='icon-retweet'></span>LOADING...");  //
this creates a spinner or a waiting message in the #target

ajax('"yoururl", [], 'target');when data received, replaces the
spinner..... in the #target

Just an example . I´m sure there is other options...


regards

2018-04-04 10:37 GMT+01:00 Maurice Waka <mauricew...@gmail.com>:

> In web2py we have flash messages such as 'Success' when form is accepted
> etc.
> Is there a way to have an animation flash with a  message such as
> 'loading', 'Please wait' in web2py as the page reloads?
> *** My pages sometimes take a few more seconds to open e.g. switching from
> index  page to other html.views.
> Kind regards
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to