webm

window.open()

Posted on: Listopad 27, 2007

Opis funkcji JavaScript window.open()


width & height the dimensions of the popup

window.open(href, windowname,"width=400,height=200,scrollbars=yes");

left & top the distance from the top and left side of the screen

window.open(href, windowname, 'width=250,height=150,left=50,top=100,scrollbars=yes');

toolbar if the popup should have a set of navigation buttons across the top

window.open(href, windowname, 'width=400,height=150,toolbar=yes,scrollbars=yes');

location if the popup should have a location bar where the URL is displayed

window.open(href, windowname, 'width=400,height=150,location=yes,scrollbars=yes');

directories if the popup should have a row across the top with buttons to popular web sites

window.open(href, windowname, 'width=400,height=150,directories=yes,scrollbars=yes');

status if the popup should have a status bar across the bottom

window.open(href, windowname, 'width=400,height=150,status=yes,scrollbars=yes');

menubar if the popup should have a menu

window.open(href, windowname, 'width=400,height=150,menubar=yes,scrollbars=yes');

scrollbars if the popup should have scroll bars

window.open(href, windowname, 'width=400,height=150,scrollbars=yes');

resizable if users can resize the popup

window.open(href, windowname, 'width=400,height=150,resizable=yes,scrollbars=yes');

dependent if the popup should close when its opener window closes

window.open(href, windowname, 'width=400,height=150,dependent=yes,scrollbars=yes');

full screen how to open a full screen popup

window.open(href, windowname, ',type=fullWindow,fullscreen,scrollbars=yes');

channelmode MSIE’s channel mode

window.open(href, windowname, 'width=400,height=150,channelmode=yes,scrollbars=yes');
window.open(href, windowname, 'channelmode=yes,type=fullWindow,scrollbars=yes');

Reklamy

Skomentuj

Wprowadź swoje dane lub kliknij jedną z tych ikon, aby się zalogować:

Logo WordPress.com

Komentujesz korzystając z konta WordPress.com. Wyloguj / Zmień )

Zdjęcie z Twittera

Komentujesz korzystając z konta Twitter. Wyloguj / Zmień )

Zdjęcie na Facebooku

Komentujesz korzystając z konta Facebook. Wyloguj / Zmień )

Zdjęcie na Google+

Komentujesz korzystając z konta Google+. Wyloguj / Zmień )

Connecting to %s

%d blogerów lubi to: