PopUp прозорец
Публикувана от smilev на January 12 2011 09:14:53

Разширена новина
[code]<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>[/code]

('http://mail.bg',300,100)

http://mail.bg - задаваме страницата която ще се отваря в pop up-а
300 - ширина на pop up прозорецът
100 - височината му