Question

So a normal popup but without the original borders and styles what comes from the Operating system.

Is there a way to style these popups?

EDIT: Simply HTML elements are not good like <div> because they cannot be on front of the windows in the OS.

Was it helpful?

Solution

‘Chromeless’ pop-up windows used to be allowed in IE via showModalDialog, showModelessDialog and createPopup, but were a disaster for usability and security reasons. They allowed any web page to fake UI on any part of the screen (effectively ‘click-jacking’ the entire desktop, circumventing all security-related UI), and were typically used for the most obnoxious advertising.

IE introduced restrictions on them (dialog unadorned is not available to web pages, and createPopup popups can no longer obscure other windows) which are not going to go away, and other browsers never implemented them at all.

OTHER TIPS

You can just display an HTML element in front of the web-page. Take a look at w3viewer.com. Click on the "About" link in the bottom left corner.

The answer to this is basically no. You generally cannot style windowed content in a browser...it is possible to style scrollbars and a few other elements in some browsers but nothing can be consistently done to change the browsers 'chrome'.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top