Try: playSlideshow = setInterval( slideSwitch, 1000 );
(without the quotes around "slideSwitch") On Jun 18, 6:07 am, Steve Tran <steve.tran...@gmail.com> wrote: > Hello everybody, > First time in this list. I've developed a plugin for a simple slide > show. and here is the codehttp://pastie.org/516507 > The problem is when I mouse over the pic, the console error logs: > "slideSwitch is not defined" > The same error would still happen if I define > function slideSwitch(){} and call setInterval("slideSwitch()", 1000); > > Any ideas on this error guys? > Thank you