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
--
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 post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---