Hi,
Does anyone have any experience using the prototype carousel from here
http://prototype-carousel.xilinus.com/ originally from Bill Scott but
adapted by Sebastien Gruhier for RoR…
The problem is that I can’t get it to work at all. I’ve done the
following:
I’ve downloaded the carousel.js into my public/javascripts directory
I’ve downloaded the carousel.css file into my public/stylesheets
directory,
I’ve downloaded the carousel_helper.rb file into my app/helpers
directory,
I’ve included the helper file in my controller class by doing “include
CarouselHelper” and “helper :carousel”
I’ve written the line “<%=javascript_include_tag “carousel” %>” in the
appropriate place.
I’ve written the line " <%= stylesheet_link_tag “carousel” %>" in the
appropriate place
but STILL I get the message:
" NoMethodError in User#index
undefined method `carousel’ for #<#Class:0xb684a72c:0xb684a704>"
Does anyone have any ideas what could be going wrong? Or any links to
other carousel libraries?
Thanks in advance,
Phil