К примеру, открываю я окно - window.open (бла бла бла ....) чтобы оно появлялось в центре экрана. Как мне ето сделать? Помогите пжалуйста!
RFMitrio
19.11.2001, 20:49
function OpenWin(url,wdt,hgt)
{
xPos = (screen.width-wdt)/2;
yPos = (screen.height-hgt)/2;
window.open(url,'photo','width='+wdt+',height='+hgt+',top='+yPos+',left='+xPos+',resizable=no,toolbar=no,location=no,directories=no,status=no,menubar= no,scrollbars=no,copyhistory=no');
}
Из флэша вызываешь javascript:OpenWin(.....);
Работает на vBulletin ® версия 3.7.3. Copyright ©2000-2026, Jelsoft Enterprises Ltd. Перевод: zCarot
Copyright © 1999-2008 Flasher.ru. All rights reserved.