подскажите пожалуста где ошибка.
CODE ( htmlphp):
скопировать код в буфер обмена
<script type="text/javascript"> jQuery(function() { jQuery('#clos').click(function() { jQuery('#auto').animate({"display":"none" }, 1000); }); }); </script>
вот код окна
CODE ( htmlphp):
скопировать код в буфер обмена
<div id="auto"> <div class="font"> <a href="#" id="clos"><img src="/images/er.png" width="16" height="16" style="margin-top: 40px; margin-left: 300px;"/></a> <form action="vhod.php" method="post"> <div class="intext">Ник: <input type="text" name="nick" class="forma" style="margin-top: 90px;"/></div> <div class="intext">Пароль: <input type="password" name="psw" class="forma"/></div> <div class="intext"><input type="submit" value="Войти" class="Button"/></div> </form> <div class="small"><a href="/register.php">Регистрация</a></div> <div class="small"><a href="/newspass.php">Забыли пароль?</a></div> <div class="px"> </div> </div></div>
при нажатие на ссылку <a href="#" id="clos"><img src="/images/er.png" width="16" height="16" style="margin-top: 40px; margin-left: 300px;"/></a> окно должно закрываться
|