|
|
|
Размер окна
|
|||
|---|---|---|---|
|
#18+
Как открыть окно эклорера с заданными размерами? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.06.2009, 11:22 |
|
||
|
Размер окна
|
|||
|---|---|---|---|
|
#18+
тынць _________________ "Helo, word!" - 17 errors 56 warnings Posted via ActualForum NNTP Server 1.4 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.06.2009, 11:43 |
|
||
|
Размер окна
|
|||
|---|---|---|---|
|
#18+
Нужно указать ему нужные значения... авторSyntax oNewWindow = window.open( [sURL] [, sName] [, sFeatures] [, bReplace]) Parameters sURL Optional. String that specifies the URL of the document to display. If no URL is specified, a new window with about:blank is displayed. sName Optional. String that specifies the name of the window. This name is used as the value for the TARGET attribute on a FORM or an A element. In Microsoft® Internet Explorer 5 and later, specifying the value _search opens sURL in the browser's search pane. sFeatures Optional. String that specifies the window ornaments to display. The following features are supported: channelmode = { yes | no | 1 | 0 } Specifies whether to display the window in theater mode and show the channel band. The default is no. directories = { yes | no | 1 | 0 } Specifies whether to add directory buttons. The default is yes. fullscreen = { yes | no | 1 | 0 } Specifies whether to display the browser in a full-screen or normal window. The default is no, which displays the browser in a normal window. Use full-screen mode carefully. Because this mode hides the browser's title bar and menus, you should always provide a button or other visual clue to help the user close the window. ALT+F4 also closes the new window. height = number Specifies the height of the window, in pixels. The minimum value is 100. left = number Specifies the left position, in pixels. This value is relative to the upper-left corner of the screen. location = { yes | no | 1 | 0 } Specifies whether to display the input field for entering URLs directly into the browser. The default is yes. menubar = { yes | no | 1 | 0 } Specifies whether to display the menu bar. The default is yes. resizable = { yes | no | 1 | 0 } Specifies whether to display resize handles at the corners of the window. The default is yes. scrollbars = { yes | no | 1 | 0 } Specifies whether to display horizontal and vertical scroll bars. The default is yes. status = { yes | no | 1 | 0 } Specifies whether to add a status bar at the bottom of the window. The default is yes. titlebar = { yes | no | 1 | 0 } Specifies whether to display a title bar for the window. This parameter is ignored unless the caller is an HTML Application or a trusted dialog box. The default is yes. toolbar = { yes | no | 1 | 0 } Specifies whether to display the browser toolbar, making buttons such as Back, Forward, and Stop available. The default is yes. top = number Specifies the top position, in pixels. This value is relative to the upper-left corner of the screen. width = number Sets the width of the window, in pixels. The minimum value is 100. bReplace Optional. Boolean that specifies whether the URL that is loaded into the new page should create a new entry in the window's browsing history or replace the current entry in the browsing history. If set to true, no new history entry is created. Взято из МСДН... ---------- Cache for Windows (x86-32) 2007.1.3 (Build 607) Wed Oct 17 2007 02:12:09 EDT ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.06.2009, 11:44 |
|
||
|
Размер окна
|
|||
|---|---|---|---|
|
#18+
На странице расположена картинка/ссылка, по нажатию на коротую должно должно открыться окно заданных размеров. Делаю вот так: <td><a href="2.html" Class="Zag1"><img srс="0_1.gif" onclick="window.open('2.html','displayWindow','width = 400,height=300,status=no,toolbar=no,menubar=no')">Картинка1</a></td> Не работает. Подскажите, пожалуйста в чем ошибка? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.06.2009, 12:03 |
|
||
|
Размер окна
|
|||
|---|---|---|---|
|
#18+
lenash Не работает Что значит не работает ? BTW, lenash Код: plaintext 1. каких попугаях width/height? _________________ "Helo, word!" - 17 errors 56 warnings Posted via ActualForum NNTP Server 1.4 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.06.2009, 12:21 |
|
||
|
Размер окна
|
|||
|---|---|---|---|
|
#18+
Блин, реально помощь нужна, будет время я обязательно прочитаю ваши инструкции. Лучше бы спосили что вам не понятно в моем вопросе. Ткните пальцем где не правильно, пожалуйста. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.06.2009, 12:34 |
|
||
|
Размер окна
|
|||
|---|---|---|---|
|
#18+
Блин, ну реально не понятно, что значит "не работает". Ex_Softкаких попугаях width/height?По умолчанию попугаи равны пикселям. А может и не только по умолчанию: тот же MSDNwidth = number Sets the width of the window, in pixels . ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.06.2009, 12:52 |
|
||
|
Размер окна
|
|||
|---|---|---|---|
|
#18+
lenashТкните пальцем где не правильно, пожалуйста. Тут не пальцем... Тут ладонью нужно закрывать! Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.06.2009, 12:59 |
|
||
|
Размер окна
|
|||
|---|---|---|---|
|
#18+
Спасибо большое. Но я совсем обнаглею, и еще спрошу У меня теперь на странице, размер которой устанавливали, картинка маленькая стала. Как сделать чтоба она была во все окно? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.06.2009, 13:10 |
|
||
|
Размер окна
|
|||
|---|---|---|---|
|
#18+
Ой уже не надо, поторопилась с вопросом. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.06.2009, 13:15 |
|
||
|
Размер окна
|
|||
|---|---|---|---|
|
#18+
Передложеный код работает, но не на всех компьютерах. Проверила на нескольких компах, на которых стоит ХР видео показывает, а на viste нет. На некоторых сразу подгружает видео, а на некоторых долго грузит. С чем это может быть связано? Кстати видео выставлено на сайт. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 29.06.2009, 07:44 |
|
||
|
Размер окна
|
|||
|---|---|---|---|
|
#18+
lenashПередложеный код работает, но не на всех компьютерах. Но в моём коде нет видео... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 29.06.2009, 08:11 |
|
||
|
Размер окна
|
|||
|---|---|---|---|
|
#18+
Это tmp.html <html> <head> <title>В Кемерово состоялось торжественное открытие нового корпуса научной экспериментальной лаборатории Кузбасского кардиологического центра</title> <style type="text/css"> <!-- A {text-decoration : none;} A:Visited {text-decoration : none;} A:Active {text-decoration : none;} A:Hover {text-decoration : underline;color : #ff4400;} --> </style> </head> <body> <img dynsrc=0617.mpg width=100% height=100%> </a> </body> На сайте есть картинка, по нажатию на которую, открывается окно и в нем проигрывается видео. </html> ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 29.06.2009, 10:49 |
|
||
|
Размер окна
|
|||
|---|---|---|---|
|
#18+
krvsa, ваш код <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251"> <title>Test</title> <script type='text/javascript'> function Go() { var type="displayWindow,width=400px,height=300px,status=no,toolbar=no,menubar=no" window.open('tmp.html','',type) } </script> <style type='text/css'> </style> </head> <body> <a href='javascript:Go()'> <img srс="0_1.gif" /> Картинка1 </a> </body> </html> Не работает в Мозилле ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 13.11.2009, 00:53 |
|
||
|
Размер окна
|
|||
|---|---|---|---|
|
#18+
странно, у меня в mozilla ff тоже работает. видео плеер для mozilla установлен? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.11.2009, 20:11 |
|
||
|
|

start [/forum/topic.php?fid=22&msg=36063896&tid=1453974]: |
0ms |
get settings: |
7ms |
get forum list: |
11ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
139ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
37ms |
get tp. blocked users: |
1ms |
| others: | 221ms |
| total: | 430ms |

| 0 / 0 |
