SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist
    Join Date
    Jun 2004
    Posts
    418
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Slow part of website

    Hi everyone, I have a speed issue on one of our sites: http://www.atcomex.be/index.php/nl

    As you see, everything loads pretty ok, but the slieder (Flexslider), is delayed by about 4 seconds.

    Can someone help me to shed a light on this, please?

    All help appreciated,
    Michel

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,527
    Mentioned
    84 Post(s)
    Tagged
    4 Thread(s)
    It's because you're waiting until the entire page has finished loading.

    The documentation page says:
    "The $(window).load() is required to ensure the content of the page is loaded before the plugin initializes."

    Solution #1: Use images with a smaller filesize
    Solution #2: Use a different slider
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •