• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jQuery loading image

 
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Guys,

Is this loading image / spinner available only for jQuery ajax requests? I have a normal jsp page rendered through calling a struts action. This rendered jsp page is built using jQuery UI tabs and since this contains a lot of content, I want the page to be shown only when it is completely ready. Right now when I call the page, I first see the jQuery UI tabs without any image and then it suddenly flips to the original content will all the images loaded. Any idea on how I could use the spinner image till the page is completely ready for rendering?
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Joe Harry wrote:Is this loading image / spinner available only for jQuery ajax requests?


What is "this"?
 
Joe San
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok. Here is what I want. I request a jsp page and I want to show the page only after all the response has been written to the browser. Below is a screenshot of what happens. Screen 1 appears for a second and then the complete screen gets loaded. I do not want that to happen. Instead of screen 1, a spinner showing "Loading..." should be shown and then once the complete DOM is ready, the page should be shown. Ideas?
Screenshot_2.jpg
[Thumbnail for Screenshot_2.jpg]
Screenshot_1.jpg
[Thumbnail for Screenshot_1.jpg]
Somehow need to avoid this
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic