[jQuery] Re: Clickable slideshow not working as expected.

2009-02-02 Thread atomk
That worked. Still learning but I'm learning kinda backwards: jQuery first then basic javascript! Thank you. On Feb 1, 9:46 am, "frederik.r...@gmail.com" wrote: > When do you call the hover-function? On $(document).ready? To me it > looks like the hover won't work because it is never applied to

[jQuery] Re: Clickable slideshow not working as expected.

2009-02-01 Thread frederik.r...@gmail.com
When do you call the hover-function? On $(document).ready? To me it looks like the hover won't work because it is never applied to the next photo (as it isn't a current-class when loaded). Maybe it should go like this: function addMyFunctionality() { $('.current img.after').hover(