Pop ups on my website go to background in firefox
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?
Chosen solution
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 👍 0All Replies (5)
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
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.)
Chosen Solution
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
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.
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.