Jump to content

Jquery UI Cycle loading issues


Tazz

Recommended Posts

Hi

 

I'm part of the dev team of www.psgkonsult.co.za and we use Jquery UI Cycle for our header images.  As the page loads, you will notice all the header images appearing below each other for a split second before the javascript plugin initializes and the images start rotating.  Is there any way we can preload the plugin or is it the images that need preloading?  How can we avoid the images appearing below each other for that short time before the plugin starts doing its job?

Link to comment
Share on other sites

One thing you could do would be to use css to hide the s1 div, then have jQuery unhide it when the dom is ready.

 

On a side note, you will notice quite the performance boost if you load all your js at the bottom of the page, just prior to the </body> tag.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.