Re: Otevreni do noveho okna JS

From: <Martin.Vondrak (zavinac) skoda.cz>
Date: 08. 06. 2004, 13:41 CEST
<a href="images/big/$obrazek" onclick="return !newWindow(this.href,
$big_size[0], $big_size[1]);" title="$alt">


JS

function newWindow(url, x, y) {
      windowRef = window.open(url,"win","toolbar=no,width=" + (x+30) +
",height=" + (y+30) +
",top=10,left=10,directories=no,status=no,scrollbars=no,resizable=yes,
menubar=no");
      wasOpen = false;
      if (typeof(windowRef) == "object") {
            wasOpen = true;
      }
      return wasOpen;


Martin
Received on Tue, 8 Jun 2004 13:41:22 +0200

This archive was generated by hypermail 2.1.8 : 08. 06. 2004, 13:41 CEST