Need fade in to appear faster and alert to appear after one hour elapses
Hi the following code, works ok, but my alert box comes in really slowly, then bounces. I want it to appear faster and to also appear after exactly one hour. I don't think that works right either. What do I need to change in order to do this?
[code]
<script type="text/javascript">
<!--//---------------------------------+
// Developed by Roshan Bhattarai
// Visit http://roshanbh.com.np for this script and more.
// This notice MUST stay intact for legal use
// --------------------------------->
$(document).ready(function()
{
//first slide down and blink the alert box
$("#object").animate({
top: "0px"
},3600000 ).fadeOut(50).fadeIn(50).fadeOut(50).fadeIn(50).fadeOut(50).fadeIn(50).fadeOut(50).fadeIn(50);
//close the message box when the cross image is clicked
$("#close_message").click(function()
{
$("#object").fadeOut("slow");
});
});
</script>
<div id="object" class="message">
<img id="close_message" style="float:right;cursor:pointer" src="images/12-em-cross.png" />
<p><strong>Your time is up! Please submit your answers!</strong></p>
</div>
[/code]