
Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
21.03.2006, 11:25:58
|
|||
|---|---|---|---|
|
|||
(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:34:32
|
|||
|---|---|---|---|
(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. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=23&mobile=1&tid=1476525]: |
0ms |
get settings: |
10ms |
get forum list: |
16ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
168ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
52ms |
get tp. blocked users: |
2ms |
| others: | 241ms |
| total: | 508ms |

| 0 / 0 |
