-
Notifications
You must be signed in to change notification settings - Fork 737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
buttonNextCallback is not called if buttonNextHTML is null #39
Comments
See this example for how to use custom controls: http://sorgalla.com/projects/jcarousel/examples/static_controls.html |
I modified that example like this: function mycarousel_nextCallback(carousel, button, enabled){ function mycarousel_prevCallback(carousel, button, enabled){ jQuery(document).ready(function() { |
Ah, sorry. I misunderstood your question. Callbacks are only called on buttons created by jCarousel. External buttons are not notified. I'll put that on my todo list... |
Thanks! :-) |
Can you give me a clue about what should I change? I've tried changing lines 766 and 770 like this: I really need this. Thanks in advance |
Fire button callbacks also if no buttons are specified (Closed by f10693d) |
Could you please try the latest development version: http://github.com/jsor/jcarousel/blob/0.2/lib/jquery.jcarousel.min.js Callbacks should now be called also if no buttons are specified. |
Thank you very much! |
Title says it all. The question is: ¿Is it the right behaviour?
I am configuring jcarousel like this:
If I remove last two lines (buttonNextHTML and buttonPrevHTML) callbacks are called.
I'd like buttonNextCallback and buttonPrevCallback to be called with my custom buttons. Is that possible?
The text was updated successfully, but these errors were encountered: