IE harshing my mellow...
I don't want the jquery-controlled content of my page to display until jquery displays it. But in Internet Explorer, 7 and 8, the content blinks into view before jquery takes it over. I've tried $(window).load and $(document).ready functions, but I still have the same problem.
Specifically, I don't want my text to appear until Cufon displays it and I don't want my page #field to display until curvey corners has rounded off the corners. Also, I have jquery cycle slideshows and all of the content of the slideshows displays all at once briefly.
One solution, but I'm not particularly keen on it, is to have the whole darn page fade in really fast with:
$(window).load(function(){$("#field").fadeIn(0);});
Even though the time is set to 0ms, this still works to make all the hidden content stay hidden until jquery displays it. But the down side is is that it makes the pages blink when navigating between them. (I'm playing with the duration, but with IE, it just makes the pages be blank longer--I have never, ever, been able to get anything to fade in in IE with jquery).
Here's the most involved page:http://ianmartinphotography.com/test-site/testimonials/index.html About and the main (home) index page in the top directory are up and running, I'm still working on the other stuff... Thanks!
@Marc B deserves the credit for this; I waited for three days so he could post his own version of the answer so I could green-check him.
Here's the final and tested code:
Very simple and effective.