Jump to content
  • 0

исчезновение дива?


olechic
 Share

Question

11 answers to this question

Recommended Posts

  • 0

Load() - не запускает что-либо по его загрузке, а загружает удаленный файл.

$(document).ready(function(){

settimeout($('#reg').fadeout('2000'), 3000)

});

так тоже не работает? может какое то другое событие нужно добавить?

Link to comment
Share on other sites

  • 0

может так проще найти ошибку?

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title>test</title>

<link href="css/style.css" media="screen" rel="stylesheet" type="text/css" />

<script src="js/jquery-1.7.2.min.js" type="text/javascript"></script>

<script src="js/win2.js" type="text/javascript"></script>

<script src="js/script.js" type="text/javascript"></script>

<script src="js/winclose.js" type="text/javascript"></script>

</head>

<body>

<div id="reg">

<a href=""><img src="img/Close.gif" alt="альтернативный текст" id="close"></a>

<h2 id="hreg">Регистрация</h2>

< div id="sreg">Поздровляем, вы успешно зарегистрированы на сайтйтах relax.by и kupon.relax.by</div>

</div>

<script>

$('document').ready(function(){

settimeout($('#reg').fadeout('2000'), 3000);

});

</script>

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" type="text/javascript"></script>

</body>

</html>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy