Proposal: Windows-tag in HTML5

Suggestion: windows tag

Usage: If you want to create a modal form/window, a “popup” or a lightbox you have to use Javascript. I am suggesting this tag to remove the javascript need to create such a standard feature on the web. This technique uses iframe and css to create the look.

Implementation: I am suggesting that can use most of the same attributes as iframe/frame.
Adding the following attributes:

  • modal
    boolean, if the window shall be modal or not
  • movable
    boolean, true if the window shall be moveable, false if not
  • fade-background-color
    Color, set the background color being used when window opens. Default is dark gray…
  • background-opacity
    integer, set the transparency for the background

I am not part of the W3 HTML 5 working group and I have not posted this suggestion to this group. I am just suggesting it here as something I wish to see in HTML 5.

You can leave a response, or trackback from your own site.

Leave a Reply