Page loading effect with jquery

Posted by Andy Simpson on Stack Overflow See other posts from Stack Overflow or by Andy Simpson
Published on 2010-05-19T11:41:09Z Indexed on 2010/05/19 11:50 UTC
Read the original article Hit count: 264

Filed under:
|

Hello all,

Is there a way to use jquery (or other method) to display a loading div while page loads?

I have a table that is populated using PHP/MySQL and can contain several thousand rows. This is then sorted using the tablesorter plugin for jquery. Everything works fine, however the page can sometimes take 4-5 seconds to fully load and it would be nice to display a 'loading...' message within a div which automatically disappears when whole table is loaded.

I have heard of loadmask plugin for jquery - would this be suitable for my needs and if not any alternative?

No AJAX calls are being made while loading this table if thats relevant.

Thanks in advance Andy

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about loading