Parašė sniuff· 2008 Vas. 22 14:02:10
#4
<script>
function _popup(url, width, height,name) {
if (width==0) { width=screen.width; }
if (height==0) { height=screen.height; }
if (name!=true) { var rnd = (Math.round((Math.random()*999)+1)); }
else { var rnd="x"; }
var top=Math.floor((screen.availHeight-height)/2)-(screen.height-screen.availHeight);
var left=Math.floor((screen.availWidth-width)/2)-(screen.width-screen.availWidth);
window.open(url, "w"+rnd, "top="+top+", left="+left+", width="+width+", height="+height+", buttons=no, scrollbars=no, location=no, menubar=no, resizable=no, status=no, directories=no, toolbar=no");
void(0);
}
function _popupR(url,width,height,name) {
if (width==0) { width=screen.width; }
if (height==0) { height=screen.height; }
if (name!=true) { var rnd = (Math.round((Math.random()*999)+1)); }
else { var rnd="x"; }
var top=Math.floor((screen.availHeight-height)/2)-(screen.height-screen.availHeight);
var left=Math.floor((screen.availWidth-width)/2)-(screen.width-screen.availWidth);
window.open(url, "w"+rnd, "top="+top+",left="+left+",width="+width+",height="+height+",buttons=no,scrollbars=yes,location=no,menubar=no,resizable=yes,status=no,directories=no,toolbar=no");
void(0);
}
</script>
<a href="javascript:void(0)" onclick="_popup('http://www.lignesa.lt/popup.php?image=http://www.lignesa.lt/page/upload/modproduct_431da4387856d_b1.jpg&title=Nototeninė s/g', 600, 450)" class=magnify><img src="page/media/camera.gif" alt="" width="200" height="120" border="0" vspace=2></a>
Prasom ;)