by Eren
4. February 2009 18:43
Javasript pencere açma söz dizimi;
window.open([URL], [Window Name], [Feature List], [Replace]);
Özellikler listesi:
| Özellik | Varsayılan | Açıklama |
| width |
auto |
specifies width of the new window in pixels |
| height |
auto |
height of the window in pixels |
| top |
auto |
specifies window position |
| left |
auto |
specifies window position |
| directories |
no |
should the directories bar be shown? (Links bar) |
| location |
no |
specifies the presence of the location bar |
| resizable |
no |
specifies whether the window can be resized. |
| menubar |
no |
specifies the presence of the menu bar |
| toolbar |
no |
specifies the presence of the toolbar |
| scrollbars |
no |
specifies the presence of the scrollbars |
| status |
no |
specifies the presence of the statusbar |
Tam ekran pop up pencere için javascript kodu :
<script type="text/javascript">
</script>
<a href="javascript: void(0)"
onclick="popupfs('popup.html')">Fullscreen popup window</a>
Fullscreen popup window
Ekranın Tam ortasına pop-up açmak
<script type="text/javascript">
</script>
<a href="javascript: void(0)"
onclick="popup('popup.html')">Centered popup window</a>
Centered popup window