Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / HTML, JavaScript, VBScript, CSS [игнор отключен] [закрыт для гостей] / Popup Window on top / 7 сообщений из 7, страница 1 из 1
28.03.2007, 12:31
    #34421153
nigger™
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Popup Window on top
Народ подскажите как сделать popup, которое должно оставаться в он топ т.е. я не могу зайти на парента popup окна. народ киньте какой нить примерчи или линку. За ранее благодарен.
...
Рейтинг: 0 / 0
28.03.2007, 12:36
    #34421188
SkyLight
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Popup Window on top
window.showModalDialog
...
Рейтинг: 0 / 0
28.03.2007, 12:49
    #34421253
nigger™
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Popup Window on top
SkyLightwindow.showModalDialog
Я уже нашел, а как вызвать конструктор, чтобы я смог передать туда свои размеры окна ?
...
Рейтинг: 0 / 0
28.03.2007, 13:03
    #34421328
SkyLight
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Popup Window on top
Syntax
vReturnValue = window.showModalDialog(sURL [, vArguments] [, sFeatures])

Parameters
sURL. String that specifies the URL of the document to load and display.
vArguments. Variant that specifies the arguments to use when displaying the document. Use this parameter to pass a value of any type, including an array of values. The dialog box can extract the values passed by the caller from the dialogArguments property of the window object.
sFeatures. String that specifies the window ornaments for the dialog box, using one or more of the following semicolon-delimited values: dialogHeight:sHeight Sets the height of the dialog window (see Remarks for default unit of measure).

dialogLeft:sXPos - Sets the left position of the dialog window relative to the upper-left corner of the desktop.
dialogTop:sYPos - Sets the top position of the dialog window relative to the upper-left corner of the desktop.
dialogWidth:sWidth - Sets the width of the dialog window (see Remarks for default unit of measure).
center:{ yes | no | 1 | 0 | on | off } - Specifies whether to center the dialog window within the desktop. The default is yes.
dialogHide:{ yes | no | 1 | 0 | on | off } - Specifies whether the dialog window is hidden when printing or using print preview. This feature is only available when a dialog box is opened from a trusted application. The default is no.
edge:{ sunken | raised } - Specifies the edge style of the dialog window. The default is raised.
help:{ yes | no | 1 | 0 | on | off } - Specifies whether the dialog window displays the context-sensitive Help icon. The default is yes.
resizable:{ yes | no | 1 | 0 | on | off } - Specifies whether the dialog window has fixed dimensions. The default is no.
scroll:{ yes | no | 1 | 0 | on | off } - Specifies whether the dialog window displays scrollbars. The default is yes.
status:{ yes | no | 1 | 0 | on | off } - Specifies whether the dialog window displays a status bar. The default is yes for untrusted dialog windows and no for trusted dialog windows.
unadorned:{ yes | no | 1 | 0 | on | off } - Specifies whether the dialog window displays the border window chrome. This feature is only available when a dialog box is opened from a trusted application. The default is no.

Return Value
Variant. Returns the value of the returnValue property as set by the window of the document specified in sURL .
...
Рейтинг: 0 / 0
28.03.2007, 13:37
    #34421509
nigger™
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Popup Window on top
SkyLight Syntax
vReturnValue = window.showModalDialog(sURL [, vArguments] [, sFeatures])

Parameters
sURL. String that specifies the URL of the document to load and display.
vArguments. Variant that specifies the arguments to use when displaying the document. Use this parameter to pass a value of any type, including an array of values. The dialog box can extract the values passed by the caller from the dialogArguments property of the window object.
sFeatures. String that specifies the window ornaments for the dialog box, using one or more of the following semicolon-delimited values: dialogHeight:sHeight Sets the height of the dialog window (see Remarks for default unit of measure).

dialogLeft:sXPos - Sets the left position of the dialog window relative to the upper-left corner of the desktop.
dialogTop:sYPos - Sets the top position of the dialog window relative to the upper-left corner of the desktop.
dialogWidth:sWidth - Sets the width of the dialog window (see Remarks for default unit of measure).
center:{ yes | no | 1 | 0 | on | off } - Specifies whether to center the dialog window within the desktop. The default is yes.
dialogHide:{ yes | no | 1 | 0 | on | off } - Specifies whether the dialog window is hidden when printing or using print preview. This feature is only available when a dialog box is opened from a trusted application. The default is no.
edge:{ sunken | raised } - Specifies the edge style of the dialog window. The default is raised.
help:{ yes | no | 1 | 0 | on | off } - Specifies whether the dialog window displays the context-sensitive Help icon. The default is yes.
resizable:{ yes | no | 1 | 0 | on | off } - Specifies whether the dialog window has fixed dimensions. The default is no.
scroll:{ yes | no | 1 | 0 | on | off } - Specifies whether the dialog window displays scrollbars. The default is yes.
status:{ yes | no | 1 | 0 | on | off } - Specifies whether the dialog window displays a status bar. The default is yes for untrusted dialog windows and no for trusted dialog windows.
unadorned:{ yes | no | 1 | 0 | on | off } - Specifies whether the dialog window displays the border window chrome. This feature is only available when a dialog box is opened from a trusted application. The default is no.

Return Value
Variant. Returns the value of the returnValue property as set by the window of the document specified in sURL .

Сенкс но и енто я уже нашел, но кое что я найти не могу, надо сделать след : на onclick в ентом модал виндове хочу чтобы все страницы грузились в него самого, а не в отдельное окно.
...
Рейтинг: 0 / 0
28.03.2007, 14:41
    #34421803
Antonariy
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Popup Window on top
target=_self

А может сначала будешь искать, а потом спрашивать?
...
Рейтинг: 0 / 0
28.03.2007, 15:39
    #34422137
nigger™
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Popup Window on top
Antonariytarget=_self

А может сначала будешь искать, а потом спрашивать?

Чувак а ты хоть знаеш что такое target="_self" и что происходит в броузере ? Когда стоит такой параметр ? А то, что я задам вопрос и буду паралельно искать сам, это по моему не противозаконно.
...
Рейтинг: 0 / 0
Форумы / HTML, JavaScript, VBScript, CSS [игнор отключен] [закрыт для гостей] / Popup Window on top / 7 сообщений из 7, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]