Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<script type="text/javascript">
function openPopup(url,width,height){
window.open(url,'popup','toolbar=0,location=0,directories=0, statusbar=0,menubar=0,scrollbars=0,resizable=0,width='+width+',height='+height);
}
</script>
</head>
<body>
<a href="javascript: openPopup('http://mail.bg',300,100);">клик</a>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251"/>
<title>прозорче</title>
<script type="text/javascript">
function CenteredPopup(sUrl,iWidth,iHeight)
{ var x = (screen.availWidth - iWidth) / 2;
var y = (screen.availHeight - iHeight) / 2;
var sOptions = "left=" + x + ",screenX=" + x;
sOptions += ",top=" + y + ",screenY=" + y;
sOptions += ",width=" + iWidth + ",height=" + iHeight;
return window.open(sUrl, 'popup', sOptions);
}
</script>
</head>
<body>
<p>
<a href="javascript:var%20w%20=%20CenteredPopup('http://google.com',335,335)"> Кликни ме ликинко</a>
</p>
</body>
</html>