How to reduce the lag time when using jquery to modify css onload

Posted by Josh on Stack Overflow See other posts from Stack Overflow or by Josh
Published on 2010-05-04T15:47:46Z Indexed on 2010/05/04 15:58 UTC
Read the original article Hit count: 171

Filed under:

I have a jquery function that is called on $(document).ready that modifies the css of a Business Intelligence dashboard. I had to use jquery to make the adjustments because I do not have access to the source code of the BI tool. What happens is when the page loads, I run through the tab navigation and change the colors of the tabs based on certain requirements (which is basically dependent on the text of the tab). The issue I am facing is that there is a small lag time from when the page initially loads to when the jquery updates have been made to the page. Is there a way to reduce this lag time?

© Stack Overflow or respective owner

Related posts about jQuery