jquery - functions does not run -
i want know problem in code :
i want div fade in
but id don't know why doesn't run want. hope me.
<!doctype html> <html> <head> <title> site </title> <script type="text/javascript" src="http://code.jquery.com/jquery-1.11.0.min.js"> </script> <script type="text/javascript"> $(document) .ready (function() { $("#frame").fadein(3000); }); </script> <style type="text/css" media="all"> * {margin:0 auto; padding:0;} body {background:#333;} #myframe {width:500px; height:300px; background:#006699;font:50px tahoma; text-align:center; color:#fff; line-height:100px;} </style> </head> <body> <div id="myframe"> site . <br /> site. </div> </body> </html>
css:
#myframe{ ... display: none; }
js:
$(document) .ready (function() { $("#myframe").fadein(3000); });
Comments
Post a Comment