Problem with fancybox height and width

Problem with fancybox height and width

Hello,

i'd like to set modal iframe window to 300 x 200 px. what am i doing wrong?

  1. <?php
  2. session_start();
  3. $_SESSION['kala']++;
  4. ?>
  5. <html>
  6. <head>
  7.     <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
  8.     <script type="text/javascript" src="./fancybox/jquery.mousewheel-3.0.2.pack.js"></script>
  9.     <script type="text/javascript" src="./fancybox/jquery.fancybox-1.3.1.js"></script>
  10.     <link rel="stylesheet" type="text/css" href="./fancybox/jquery.fancybox-1.3.1.css" media="screen" />
  11.      <link rel="stylesheet" href="style.css" />
  12.     <script type="text/javascript">
  13.       $(document).ready(function() {
  14.             $("#upload").fancybox({
  15.                 'width'                : '300',
  16.                 'height'            : '200',
  17.                 'autoScale'            : false,
  18.                 'transitionIn'        : 'none',
  19.                 'transitionOut'        : 'none',
  20.                 'type'                : 'iframe',
  21.         'onClosed' : function() {
  22.                     parent.location.reload(1);
  23.                   }
  24.             });
  25.     });
  26.   </script>
  27. </head>
  28. <body>
  29. <?php echo $_SESSION['kala']; ?><br>
  30. <br>
  31. <a id="upload" href="upload.php" title="Uploadime faile">upload</a>
  32. </body>
  33. </html>