This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Pop ups on my website go to background in firefox

  • 5 ردود
  • 1 has this problem
  • 12 views
  • آخر ردّ كتبه cor-el

more options

On my website http://troonbijdevijver.nl I worked with pop ups. In firefox they do open, but disappear to the background immediately. What can I do to show the pop ups in the foreground?

On my website http://troonbijdevijver.nl I worked with pop ups. In firefox they do open, but disappear to the background immediately. What can I do to show the pop ups in the foreground?

الحل المُختار

Problem is solved... thanks for your suggestions. Eventually I found out that I used 'on mouse down' as behaviour in DW, but I should have used 'on Click'. It makes no difference in IE or Chrome, but it does in Firefox....

Read this answer in context 👍 0

All Replies (5)

more options

Thank you for your question and I am happy to help you. I understand that you want pop ups in the foreground.

Try this reference:

If it does not help, please try: Where to go for developer support

more options

See if this helps: in your area tags with the onmousedown popups, add onclick="return false;" to prevent the page from navigating to the href after you've fired the popup.

Even if that doesn't fix the window order, it will at least prevent Firefox from reloading the page and hiding the permission bar that allows users to approve the site to show popups. (If you block popups, you'll see why this is necessary.)

more options

الحل المُختار

Problem is solved... thanks for your suggestions. Eventually I found out that I used 'on mouse down' as behaviour in DW, but I should have used 'on Click'. It makes no difference in IE or Chrome, but it does in Firefox....

Modified by Miquem

more options

If I manually turn off the popup blocker and then left-click an active element on your page, the page reloads, and then the new window eventually opens in front of the page (there is a delay of a few seconds for some reason). If I right-click, Firefox displays a context menu then, after a delay, your window opens behind. Not sure why the difference.

more options

On my screen there was enough space and the pop-up appeared next to the active window (size about 1160). Every click opens a new window, so I ended up with quite a few tiled pop-ups when clicking the active elements.