Hi guys,
I was hoping someone could help me write some jQuery that runs a fadeIn after a minute passes after the script has loaded.
I know how to write it without the time waiting…
<!doctype HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Fading with jQuery></title>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.4.min.js">
<script type="text/javascript">
$(document).ready(function() {
('.hidden').fadeIn();
});
</script>
</head>
<body>
<p class="shown"> While you are reading this text you will see some more fade in underneath</p>
<br/>
<p class="hidden">I have just faded in!</p>
</body>
</html>
Is there something like $(document.wait(60s, function() {
/*…jQuery here */
Thanks in advance for any help, I really appreciate it
Regards,
Team 1054