molily: Suche sowas wie navigator.framesEnabled

Beitrag lesen

Hallo Cheatah,

Framebezügliches gibt es nur innerhalb eines Frameset-DTDs. Außerhalb desselben gibt es gerade mal ein target-Attribut, und das war's.

Wie meinst du das? Das noframes-Element ist in Transitional erlaubt.

http://www.w3.org/TR/html401/loose.dtd:

<!ENTITY % block
     "P | %heading; | %list; | %preformatted; | DL | DIV | CENTER |
      NOSCRIPT | NOFRAMES | BLOCKQUOTE | FORM | ISINDEX | HR |
                 ^^^^^^^^
      TABLE | FIELDSET | ADDRESS">

<!ENTITY % flow "%block; | %inline;">
                  ^^^^^

<!ELEMENT BODY O O (%flow;)* +(INS|DEL) -- document body -->
                     ^^^^

(Natürlich habe ich keine »<![ %HTML.Frameset; [ ... ]]>« gekürzt.)

»The NOFRAMES element is part of both the transitional and frameset DTDs. [...] NOFRAMES may be used, for example, in a document that is the source of a frame and that uses the transitional DTD.«
(http://www.w3.org/TR/html401/present/frames.html#noframes ff.)

Mathias