Пример:
<html>
<head>
<title>Your sitename</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('v2logo.jpg',410,114);">нежно ме натисни !!!</a>
</body>
</html>
javascript: openPopup('v2logo.jpg',410,114):
- v2logo.jpg е файла/линка, който искаме да покажем в изскачащия прозорец
- 410 - широчина на прозореца
- 114 - височината на прозореца
[html]
<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>
<center><a href="javascript: openPopup('http://studio-bg.com/img/web/v2logo.jpg',450,154);">Натиснете Тук</a></center>
[/html]