Click here to Skip to main content
15,900,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi

i just created a login page and one redirecting page after the login successfully done to redirect to that specific page. during this redirection process i like to have a pageload image with some content to it, i like to display this pageload image untile the page gets completely loaded. Do i need to create a separate aspx page which contains the pageload image and content to it. and can i call this aspx page during the page get loading period. i dont want to make my actual page to sleep for displaying this Load image page. i want this load image page only when ever a page takes time to load its entire page.
Is their any solution using javascript or jquery.

So please help me for this issue
Thank you.
Posted

1 solution

This[^] seems to be what you are looking for.
 
Share this answer
 
Comments
Anil Kumar Ch 10-Oct-13 6:36am    
Hi Zafar Thanks for your valuable answer
This looks good but in the jquery code we can find .delay(350).fadeout();
it looks like he is possing for some period of time for displaying the image loader. i want to have a image loader without mentioning any delay of tiem manually by us, imahe loader need to be displayed when there is a delay of displaying the actual page only
Anil Kumar Ch 10-Oct-13 8:56am    
The link which u mention i tried with that jquery code in css i changed the image name and mentioned my image but it is not working can i know the reason ..?
Zafar Sultan 10-Oct-13 9:05am    
Have you followed all the instructions? Just make sure the image path is correct, the script is included just before the closing of body tag, and the preloader's HTML is included just after the start of the body tag. That's it to make it work. Yes, Jquery file is required at the top and valid doctype.
Anil Kumar Ch 10-Oct-13 9:37am    
Im getting it the image is there any possiblity of adding another image bottom to it...?
Anil Kumar Ch 10-Oct-13 9:39am    
Thanks ..:-) Zafar

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900