I am trying to load js & css files like gmail do , I find this tutorial but this method work only for js files http://yensdesign.com/tutorials/loadingbars/ . So any idea how to do it for css ?? thx
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here’s an implementation that works both for CSS and Javascript. You just need to wrap it up like they do on the example you gave and create the bar graph.
Source: http://www.javascriptkit.com/javatutors/loadjavascriptcss.shtml