![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I`m dynamicly creating a doc for a modeless window in IE 6.. win= showModelessDialog(oArgs, window, sFeatures); win.document.title = 'some title'; [...] |
#3
| |||
| |||
|
|
It could be for a number of reasons - you haven't explained what oArgs, window or sFeatures are. |
#4
| |||
| |||
|
|
What puzzles me is that I cant do 'win.document.title = 'some title';' |
|
Richard Trahan wrote: [changing title of the document] In the interest of higher education, what was wrong with my node method? According to the DOM/HTML specification the HTMLTitleElement inherits from HTMLElement, which itself inherits from the core Element interface, which gives it appropriate DOM methods. Since HTML defines the content of TITLE as PCDATA, the title should be able to have text nodes and change their node values. However, AFAICS, the specification does not state that the [normalized] text nodes inside the title should be considered as the title's value:-) While IE has therefore decided to not create a text node, Mozilla and Opera have however made the decision to have a text node for the title value; in this regard, since changing the node's value does nothing, it could probably be considered as a "bug" in those browsers, but certainly not in regards of the reference. Apart from altering document.title, there's another standard way to change the title, though probably less supported: change the text property of the TITLE element. URL:http://www.w3.org/TR/2003/REC-DOM-Le...ml#ID-79243169 |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Needless to say, showModelessDialog is a Microsoft invention that is not well supported in other browsers (if at all). |
#7
| |||
| |||
|
|
Needless to say, showModelessDialog is a Microsoft invention that is not well supported in other browsers (if at all). |
#8
| |||||
| |||||
|
|
It should be, though. Dialog boxes have been on computer screens for twenty years! |
|
FURTHERMORE: Modeless dialogs can be faked with a new window, but a modeless dialog can not... |
|
except for 'confirm()', 'alert()' and input(). |
|
The programmer can not create a general modeless dialog except for MS browsers. When you need a modeless dialog, you reall do NEED one. |
|
ALL browsers should support modeless dialogs! |
#9
| |||
| |||
|
|
DAMN IT, why don't I proofread my posts?!?!?!?!? I wrote 'modeless' when I meant 'modal'. This is what I MEANT to say... RobG <rgqld (AT) iinet (DOT) net.auau> wrote Needless to say, showModelessDialog is a Microsoft invention that is not well supported in other browsers (if at all). It should be, though. Dialog boxes have been on computer screens for twenty years! |
|
FURTHERMORE: Modeless dialogs can be faked with a new window, but a ***modal*** dialog can not, except for 'confirm()', 'alert()' and input(). The programmer can not create a general ***modal*** dialog except for MS browsers. When you need a ***modal*** dialog, you reall do NEED one. |
|
ALL browsers should support ***modal*** dialogs! |
#10
| |||
| |||
|
|
Errr, not quite sure what you mean. |
![]() |
| Thread Tools | |
| Display Modes | |
| |