Jason Fb wrote in post #1165839: > 3) you probably don't want to load that file from your layout, you > probably want to load the application.js as instructed by the Gem > instructions > > Jason Fleetwood-Boldt > [email protected] > http://www.jasonfleetwoodboldt.com/writing > > All material © Jason Fleetwood-Boldt 2014. Public conversations may be > turned into blog posts (original poster information will be made > anonymous). Email [email protected] with questions/concerns about > this.
I have a question, will placing this function inside of the application.js override the layout throughout the entire app? Or can I call the backstretch.js for different pages? I'm really using this gem just to get the carousel background effect for the index landing page. The instructions says to bundle install and add //= require statement to the application.js. Which is what I did. I may use the gem again for pages other than the index to call backgrounds with one line of code. My original setup involved using css to cover the entire background with a fixed image. -- 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/babdb2a70af6242e32cd8cf803bb1a79%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.

