Looks like I forgot the end of the anon function, should look like:
(function($) {

        //vars up here that internal functions can access
        //also using some jquery inside here, so using $

        function crossfade() {
                //body here
        }

        //other functions

        function start() {
                //body here

                cInterval = setInterval('crossfade()', 5000);
        }

})(jQuery);

Reply via email to