|
|
|
(JS) window.open() вместо showModalDialog()
|
|||
|---|---|---|---|
|
#18+
Задача - создание диалогового окна, максимально схожего с создаваемым методом showModalDialog() в IE, но на JS. Нужно при закрытие окна открытом с помашю window.open() возвратити переменную на перваю страницу. Проста я пробавал с showModalDialog("equation.htm",window,"status:true; dialogWidth:25em;dialogHeight:25em"); у меня в equation.htm флэш фаил и не работает JS. Заранее спасибо за помощь. Прастите за плахои рускии. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 21.03.2006, 11:25:58 |
|
||
|
(JS) window.open() вместо showModalDialog()
|
|||
|---|---|---|---|
|
#18+
Перед закрытием окна установите window.returnValue. MSDN - window.returnValueSets or retrieves the value returned from the modal dialog window. Syntax window.returnValue [ = vValue ] Possible Values vValue Variant that specifies or receives the value returned from the window. The property is read/write. The property has no default value. Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties. Remarks This property applies only to windows created using the showModalDialog method. К сожалению, этот атрибут работает только с showModalDialog. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 21.03.2006, 11:34:32 |
|
||
|
|

start [/forum/topic.php?fid=23&fpage=430&tid=1476525]: |
0ms |
get settings: |
6ms |
get forum list: |
13ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
50ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
40ms |
get tp. blocked users: |
1ms |
| others: | 199ms |
| total: | 324ms |

| 0 / 0 |
