Ruby on Rails Wednesday, December 24, 2014

On Wed, Dec 24, 2014 at 10:06 AM, David Williams <lists@ruby-forum.com> 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 ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yBwJ9Q5Vi2NOGytCrx9S-jJatgyjvUobuogMtxBBR1cDQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment