javascript - Fade in & Fade out not working in the below code -
hello not excellent techie , came code redirection of pages correctly.i tried executing it,but not fix fade out , fade in property.
could me out working functionally.
the code used implementation
<head> <script type="text/javascript"> <!-- function delayer(){ window.location = "../safari-index -black/page3.html" } //--> $("#page").fadeout(2000); </script> </head> <body> <body onload="settimeout('delayer()', 36000)"> </body>
thanks
call fadeout in window.load
$(function(){ $("#page").hide().fadein(2000); settimeout(function(){ $("#page").fadeout(2000); }, 30000); });
and add
<head> <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> </head>
to head tag
Comments
Post a Comment