I am trying to figure out what is wrong with this code,
I need to manually target slides from within the slide it self but the click functions are not working.
$('#signup-content').cycle({
fx: 'scrollLeft',
timeout: 0,
speed: 300,
prev: '#previous',
next:'#next',
after: onComp,
startingSlide: 0});
When I add this:
$('#next01').click(function() {
$('#signup-content').cycle(1);
return false;
});
The Button Doesn't do anything, The cycle works great, I omitted the onComp function as it's not worth posting, but it works.
It is in a document ready statement. And under the first call for cycle.
On Click gets this error:
Error: second argument to Function.prototype.apply must be an array Source File: http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js Line: 12
UPDATE:
When I changed the version from 1.3.2 to 1.3.1 the above works and the above error is not there.
I am not sure what 1.3.2 has that causes it to become wrong, any ideas?