Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi @yaoxiao4,

    I hope you’re well today! 🙂

    It sounds like possibly a simple CSS solution might remedy that but we’d need a link to the site to have a look.

    Could you let us know the url for the site?

    Thanks,
    David

    Thread Starter yaoxiao4

    (@yaoxiao4)

    Hey,

    I’ve fixed it with a jQuery script that changes the z-value of the popup from 99999 to a number smaller than the other popup.

    Should I just change the CSS(z-value) for the visible box?

    Thanks,
    Yao

    Hi Yao,

    Thanks for your reply. Sure, you can change the popover’s z-index. That would generally be easier than using jQuery to do it.

    Have you tried that? I’d love to hear how it works. 🙂

    Cheers,
    David

    Thread Starter yaoxiao4

    (@yaoxiao4)

    Hi,

    Yes I changed it and it works fine now!

    But another issue came up, when I click submit or X the popup window, my whole page reloads, any idea why?

    Thanks

    Hi @yaoxiao4,

    Thanks for your reply. I imagine there’s some JavaScript on the page that’s causing the refresh to occur.

    Could you provide a url so we could see what’s occurring there?

    Thanks,
    David

    Thread Starter yaoxiao4

    (@yaoxiao4)

    Here you go

    http://www.careerify.net/increase-employee-referrals/

    I have a manual script right now that stops the X button from refreshing the page

    Hi @yaoxiao4, thanks again for your reply. Could I ask what script you’re using to stop the refresh currently?

    Would it work for you to keep that script in place? As the refresh is most likely caused by other scripts on the page, I would think an additional script to override that would be the optimal solution apart from removing other plugins.

    You could also try deactivating other plugins to see which might be causing the refresh if that’s an issue.

    Looking forward to your reply. 🙂

    Cheers,
    David

    Thread Starter yaoxiao4

    (@yaoxiao4)

    I just use a simple stoppropagation() to stop it from refreshing, but I think that also might stop the submit button from actually submitting?

    Heya @yaoxiao4, if the stoppropagation() is attached to the close button is shouldn’t affect the submit button. In fact, I just tested the submit button then closed the popup, worked just fine in testing it.

    Were you having trouble with that?

    Cheers,
    David

    Thread Starter yaoxiao4

    (@yaoxiao4)

    Hey,

    The same thing was actually happening to the submit button too, so I have stoppropagation() attached to that as well, would I need to have submit in the function as well?

    Thanks

    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi @yaoxiao4,

    Are you referring “Subscribe” button displayed on this page http://www.careerify.net/increase-employee-referrals as a submit button?

    I just use a simple stoppropagation() to stop it from refreshing

    Could you please tell me where you have added this function stoppropagation() by sharing the code here so that i can troubleshoot it?

    Kind Regards,
    WPMU DEV

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Image enlarge on top of popup’ is closed to new replies.