Код
<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>
('http://mail.bg',300,100)
http://mail.bg - задаваме страницата която ще се отваря в pop up-а
300 - ширина на pop up прозорецът
100 - височината му
Моля влезте, за да коментирате.
|
Рейтингите са достъпни само за регистрирани.
Моля влезте или се регистрирайте за да гласувате.
Няма оценки.
|