• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

busy/processing icon on the screen, when user takes some action.

 
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Functionality in brief: When user clicks on the button on the screen, some processing is taking place (java code which is uploading images/documents to the database). Sometime this processing is taking sometime. I need to show some processing/busy icon on the screen till this processing is goingon.

I have the busy/processing icon (a kind of revolving circle) which is very similar to the busy icon of Windows 7.

I have a div section on that screen for the handling of this icon


Now when user clicks on the submit button, I am displaying this image by using code given below


Now Issue is :- busy/processing icon is visible to the screen when user clicks on the submit button, but it is not revolving.

Please note: image is a revolving circle. If I display it on a webpage, it is coming as a revolving circle. Only when user takes some action (by clicking button), it is not appearing as a revolving circle
 
Ranch Hand
Posts: 1087
Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I guess you are using Jquery heres the quick link mentioned below


http://docs.jquery.com/Tutorials
 
Brij Garg
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Vishal, But I am not using JQuery.
Javascript and html only

Regards
 
Sheriff
Posts: 67390
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The browser will not run animations between submits.

If you want the page to be active while a long server process is running you can explore using Ajax to submit the process (in which case you most definitely want to start using jQuery).
 
    Bookmark Topic Watch Topic
  • New Topic