the function is fadeIn with a capital 'I'
example : $("selector").fadeIn("slow");
Thanks & Regards,
Dhruva Sagar.
Joan Crawford - "I, Joan Crawford, I believe in the dollar. Everything I earn, I spend."
On Thu, Oct 1, 2009 at 10:02 AM, jessie <mia-g@optusnet.com.au> wrote:
Hi
I'm doing some online tutorials and simple tasks....
I'm getting an error on the function .fadein
can someone please tell me what is wrong with this code.
$(function() { // document is ready for load
$('a').click(function() {
$('.box').fadein(5000);
});
});
Here is the inline style and markup
<style type="text/css">
.box { background-color:blue; width:200px; height:200px; }
</style>
<div id="box"></div>
<a href="#">Click my link</a>
Thanks
Much appreciated.
Jess
No comments:
Post a Comment