Support » Plugin: ITRO Popup Plugin » Popup wiggles / jiggles / twitches.

  • my box keeps wiggling between:

    style=”top: 279px;”
    style=”top: 278.5px”;

    This shows up visually on some browsers, not always on others.

    It was wiggling on safari when my contents were a gravity form.
    It even started wiggling on chrome when I used an image with width=100%.

    Perhaps you could make it only recalculate upon opening and upon window-resize as opposed to recalculating all the time?

    Let me know if you need help with this, or want some code / patch. I’ll likely start working on this now to see if I can get it fixed.

    https://wordpress.org/plugins/itro-popup/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ITRO Team

    (@itro)

    Hello,
    sorry for late reply! Thank you for your advice, will try to fix it in the next version.
    In the present the top margin is refreshed every 0.1 sec.
    You can try to edit the file scripts/js-functions.php at the line 82
    setInterval(function(){marginRefresh()},100); /* refresh every 0.1 second the popup top margin (needed for browser window resizeing) */
    instead of an interval is bettere to use a listener for windows resizing.
    If you have a good solution post it and we’ll add it to next release!
    Thank you

    Hi. I am having this same issue. I found the bit of code in js-functions.php that you are talking about, but I don’t know what to change it to.

    Thanks,

    Lizy

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Popup wiggles / jiggles / twitches.’ is closed to new replies.