I have a multi step quiz for the user that uses jcarousel. When the user selects his choice, the next step scrolls in from the right. It does this until the last step and submits the form. All is well.
When I integrated this into a modal box, I lost the ability to leave step 1 after clicking my first choice. Nothing happens. I have the full app over on my public github repo https://github.com/yaboyanees/gfu
Any help is greatly appreciated
--
You received this message because you are subscribed to the Google Groups "ModalBox" group.
To view this discussion on the web visit https://groups.google.com/d/msg/modalbox/-/9EkcvGV9E00J.
To post to this group, send email to moda...@googlegroups.com.
To unsubscribe from this group, send email to modalbox+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/modalbox?hl=en.
jQuery('#mycarousel').jcarousel();
as you are loading content into modalbox with ajax, this init of jcarousel should be run, after the content is loaded AND visible in the modalbox, as javascript can't determine width and height
of invisible elements.
so in the afterLoad callback your should execute the jcarousel init.
afterLoad: function(){
jQuery('#mycarousel').jcarousel();
}
by the way did you set jquery to run in no conflict mode ? as prototype framework and jquery don't like to live together :)
http://api.jquery.com/jQuery.noConflict/
--
You received this message because you are subscribed to the Google Groups "ModalBox" group.
To post to this group, send email to moda...@googlegroups.com.
To unsubscribe from this group, send email to modalbox+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/modalbox?hl=en.