WordPress.org

Ready to get started?Download WordPress

Forums

Scripts loading problem (1 post)

  1. IrisRosa
    Member
    Posted 3 years ago #

    I have searched the support forums but have not found the solution to this problem yet:

    My theme uses the following scripts: jquery.cycle (slideshow at home), cufon (use of different fonts) and pixastic (desaturate feature to turn some images b&w).

    The scripts are loaded with wp_enqueue_script () and wp_register_script () in functions.php and in the header.

    However, when the site loads, the theme "flashes" for a moment without the effects of those scripts (text in arial, color images, no slideshow..). Is like if they were loaded right after the theme (css).

    Any one knows how to avoid this "preview"? Any suggestion welcome.

    Sorry my bad english..
    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic