I prefer to use the below scripts;
$(document).ajaxStart( function () {
$(.aloading).show();
});
$(document).ajaxStop( function () {
$(.aloading).hide();
});
put somewhere above body for example;
div class=aloading/div
and css
.aloading {
display: none;
eh, use an animated gif...
http://www.ajaxload.info/
gotta love their license...
On Thursday, March 19, 2015 at 5:00:31 PM UTC-7, Dave S wrote:
On Wednesday, March 18, 2015 at 10:18:23 PM UTC-7, Dave S wrote:
On Wednesday, March 18, 2015 at 7:26:35 PM UTC-7, Leonel Câmara wrote:
On Thursday, March 19, 2015 at 5:23:52 PM UTC-7, Derek wrote:
eh, use an animated gif...
http://www.ajaxload.info/
gotta love their license...
Interesting indeed!
/dps
On Thursday, March 19, 2015 at 5:00:31 PM UTC-7, Dave S wrote:
On Wednesday, March 18, 2015 at 10:18:23 PM
On Wednesday, March 18, 2015 at 10:18:23 PM UTC-7, Dave S wrote:
On Wednesday, March 18, 2015 at 7:26:35 PM UTC-7, Leonel Câmara wrote:
fontawesome has spinner icons you can use that don't even need javascript
because they use css transitions. Although they don't have an hourglass you
i do like this
dom event
onclick=$('drop_html_here').html(wait!!!);my_ajax_function();
script
function my_ajax_function(){
call your ajax function
this function should return some html to replace your initial wait!!!
/script
2015-03-18 2:38 GMT+00:00 Leonel Câmara leonelcam...@gmail.com:
fontawesome has spinner icons you can use that don't even need javascript
because they use css transitions. Although they don't have an hourglass you
can check them here check http://fontawesome.io/examples/#animated
I've found an ugly hourglass:
On Wednesday, March 18, 2015 at 3:11:26 AM UTC-7, Ramos wrote:
i do like this
dom event
onclick=$('drop_html_here').html(wait!!!);my_ajax_function();
script
function my_ajax_function(){
call your ajax function
this function should return some html to replace your initial wait!!!
On Wednesday, March 18, 2015 at 7:26:35 PM UTC-7, Leonel Câmara wrote:
fontawesome has spinner icons you can use that don't even need javascript
because they use css transitions. Although they don't have an hourglass you
can check them here check http://fontawesome.io/examples/#animated
On Wednesday, March 18, 2015 at 6:31:08 PM UTC-7, Dave S wrote:
On Wednesday, March 18, 2015 at 3:11:26 AM UTC-7, Ramos wrote:
i do like this
dom event
onclick=$('drop_html_here').html(wait!!!);my_ajax_function();
script
function my_ajax_function(){
call your ajax function
Yeah, just insert an element into the dom with it and then remove or hide
it when the ajax call is done.
--
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)
---
10 matches
Mail list logo