Yes thank-you... after i posted i had a look. I guess looking at this type of *new code* has boggled up my eyes ;-)
On Oct 1, 2:36 pm, Dhruva Sagar <dhruva.sa...@gmail.com> wrote: > Did you even look at jQuery's site ?the function is fadeIn with a capital > 'I' > > example : $("selector").fadeIn("slow"); > > Thanks & Regards, > Dhruva Sagar. > > Joan Crawford<http://www.brainyquote.com/quotes/authors/j/joan_crawford.html> > - "I, Joan Crawford, I believe in the dollar. Everything I earn, I > spend." > > On Thu, Oct 1, 2009 at 10:02 AM, jessie <mi...@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