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?
- <?php
- session_start();
- $_SESSION['kala']++;
- ?>
- <html>
- <head>
- <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
- <script type="text/javascript" src="./fancybox/jquery.mousewheel-3.0.2.pack.js"></script>
- <script type="text/javascript" src="./fancybox/jquery.fancybox-1.3.1.js"></script>
- <link rel="stylesheet" type="text/css" href="./fancybox/jquery.fancybox-1.3.1.css" media="screen" />
- <link rel="stylesheet" href="style.css" />
- <script type="text/javascript">
- $(document).ready(function() {
- $("#upload").fancybox({
- 'width' : '300',
- 'height' : '200',
- 'autoScale' : false,
- 'transitionIn' : 'none',
- 'transitionOut' : 'none',
- 'type' : 'iframe',
- 'onClosed' : function() {
- parent.location.reload(1);
- }
- });
- });
- </script>
- </head>
- <body>
- <?php echo $_SESSION['kala']; ?><br>
- <br>
- <a id="upload" href="upload.php" title="Uploadime faile">upload</a>
- </body>
- </html>