Проблем с jQuery

Dizasterr

Registered
Здравейте! Кода си работи както трябва. Но след като натиска Затвори той се затваря, но след това немога да натисна нищо. Трябва да обновявам(рефрешвам) страницата. Защо става така ? Кода е писан от мен.
Код:
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1251" /> 
<link href="styles.css" rel="stylesheet" type="text/css" media="screen" />
<script src="jquery-1.3.2.js" type="text/javascript"></script>
<script>
	$(document).ready(function() {
	$("#main").fadeIn(2000);
	$("#window").hide();
	$("#shadow").hide();
	});
	
	function show() {
	$("#main").fadeTo("slow", 0.20);
	$("#window").fadeIn(2000);
	$("#window").fadeTo("slow", 1);
	$("#shadow").fadeIn(2000);	
	$("#shadow").fadeTo("slow", 1);
	};
	
	function close() {
	$("#main").fadeIn(2000);
	$("#main").fadeTo("slow", 0.85);
	$("#window").fadeTo("slow", 0);
	$("#shadow").hide();
	};
</script>
<style type="text/css">
#shadow { 
	width: 1440px;
	height: 900px;
	background-color: #000000;
	opacity:0.25;
	filter:alpha(opacity=25);
	position: absolute;
	z-index: 1;
	 top: 0;
	 right: 0;
	 bottom: 0;
	 left: 0;
	 margin: auto;
	 dislpay: none;
}

#window {
	width: 600px;
	height: 500px;
	background: url("popup3.png");
	position: absolute;
	z-index: 99999;
	 top: 0;
	 right: 0;
	 bottom: 0;
	 left: 0;
	 margin: auto;
	 dislpay: none;
}
</style>
</head>
<body>
<br/><br/><br/>
<center>
<div id="shadow">
</div>
<div id="window" align="center">
<table align="right">
<tr>
<td align="right">
<br/><br/><br/>
<a href="javascript: self.close()" onclick="close()" style="position: absolute; right: 150px;">Затвори</a>
</td>
</tr>
</table>
<br/><br/><br/><br/><br/>
<b>PHP код</b>
</div>
<div id="main">
<br/><br/><br/>
<td width="400px" valign="top">
<form method="post" action="">
<table width="50" border="0" cellspacing="0" cellpadding="0" align="center">
<tr height="30px">
<td width="140" align="right" ></td>
<td width="57"></td>
<td><img src="images/loguser.png" width="20px" height="20px"></td>
<td>Форма</td>
<td align="right"></td>
<td> </td>
<td height="35"></td>
</tr>
</table>
</form>
<div id="stripe">
<a href='javascript:;' onclick="show()">Регистрирай се безплатно от ТУК.</a>
</div>
<br/><br/><br/>
<img src="person.png" width="146px" height="337px" style="float: right; right: 0; position: absolute;"/>
</div>
</center>

</body>
</html>
Благодаря предварително.
 

Back
Горе