On 24 December 2014 at 21:08, David Williams <[email protected]> wrote: > Hassan Schroeder wrote in post #1165339: >> On Wed, Dec 24, 2014 at 10:06 AM, David Williams <[email protected]> >> wrote: >>> The javascript is not working for 'owlcarousel-rails' plugin. >> >> Disclaimer: never heard of this plugin, but --- >> >>> $(".owl-carousel").owlCarousel(); >> >> if you're calling that method *before* any such elements exist in the >> DOM, I'd expect exactly nothing to happen :-) >> >> Have you looked at the JS console/log to see if there are errors? >> >> -- >> Hassan Schroeder ------------------------ [email protected] >> http://about.me/hassanschroeder >> twitter: @hassan > > Can you test this gem to see if it's working on Ruby on Rails 4 for you? > It's not even showing the images that are inside of the div tags. > Normally, it would even if the JavaScript was acting up.
View the source of the page in the browser to get a clue as to what is going on. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLv8tPakANHvUqwS004byT%2BKR%3DRLChSJsjGSPB-2qke4DQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

