Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author SilkyPress

    (@diana_burduja)

    Yes, you’re right, I didn’t think of that. I’ll implement that as soon as possible. Thanks for mentioning this.

    Thread Starter Alexander Balya

    (@balya)

    Also, this problem occurs if the page contains the active elements above the container. For example, if the spoiler is located above the container in a closed state. If disclose spoiler, the entire contents of shifts below, but does not change the position of the container. It is necessary to monitor the size and position of the main image, and if it changes, rebuild the container.

    Thread Starter Alexander Balya

    (@balya)

    I use a temporary solution when resizing the browser window:

    jQuery(window).resize(function() {
        jQuery(".zoomContainer").remove();
        jQuery(".zoooom").image_zoom(options);
    });

    But this code is, of course, need to be improved, because it strongly inhibits the page with a smooth change of the size of the browser window.

    Plugin Author SilkyPress

    (@diana_burduja)

    Ok, I fixed that now in the 1.1.4 version. Now it will regenerate the zoom container whenever a resize event stops for 500ms.

    It’s nice when I get bug reports with a handed solution like that 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Problem when resize window’ is closed to new replies.