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.

https://github.com/acrogenesis/owlcarousel-rails

-- 
Posted via http://www.ruby-forum.com/.

-- 
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/7601310af91d073e54ce54dd5f114a0a%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to