WordPress.org

Ready to get started?Download WordPress

Forums

Background Image jQuery Resize...jerky! (4 posts)

  1. pixel8
    Member
    Posted 3 years ago #

    Hi all,

    Just wondering if anyone can recommend a solution to the 'jerky' page load I have whilst using a background image resize script 'jquery.ez-bg-resize.js' on this site: http://www.harrisonshairstudio.co.uk/

    Apart from the jquery.ez-bg-resize.js it also call the lib.js file, which is:

    $(document).ready(function() {
    	$("#body-background").ezBgResize(1);
    });

    It happens every time you visit any of the pages - which I'd like to stop.

    Regards, pixel8

  2. pixel8
    Member
    Posted 3 years ago #

    If no-one has a solution, can anyone then suggest a better 'script' for resizing a background image whenever the user scales their browser window, and keep it in proportion?

    Cheers

  3. Shelby DeNike
    Member
    Posted 3 years ago #

    I know this is 3 months old, but I recently implemented this script on a site for a client and found with WP-Supercache as well as loading the div into the footer it seems to fix SOME of the jerky behavior. Still not a 100% fix but it might help.

  4. pixel8
    Member
    Posted 3 years ago #

    Thanks for the reply Shelby.
    I ended up using just css to create the effect. Doesn't work in IE6, but then my target audience aren't corporates or old fudies that can't be bothered upgrading a 9 year old browser :-)

Topic Closed

This topic has been closed to new replies.

About this Topic