Search code examples
htmlpopupmozilla

What is a replacement function for windows.createPopup()?


Some functions (dropdown, ..) doesn't work in Mozilla and IE11. I think it's because I used windows.CreatePopup(). How can I replace it, and with what function?

Thanks


Solution

  • From the docs:

    createPopup is no longer supported. Starting with Internet Explorer 11, use a div, iframe, or other element with a relatively high z-index value. For info, see Compatibility changes.

    There's an example on the page.