Pregunta

Entonces, una ventana emergente normal pero sin los bordes y estilos originales de lo que proviene del sistema operativo.

¿Hay alguna forma de diseñar estas ventanas emergentes?

Editar: simplemente los elementos HTML no son buenos como <div> Porque no pueden estar al frente de las ventanas en el sistema operativo.

¿Fue útil?

Solución

‘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.

Otros consejos

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'.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top