Let's say you have a local object called images in your partial, that you then manipulate. The way to pass data to that local object is like this render :partial => '/images/public/scrollerJs', :images => @images.
Thank you! That makes sense. But how do I access it in my javascript file?
None of the following seem to work: this. Images0 .. @images0 .. #{@images0} ... – mtay Nov 29 '10 at 1:11 I'm on rails 2 by the way, if that makes a difference. – mtay Nov 29 '10 at 1:17 well your file is an erb file before becoming js, so I'd use erb with var imageName = ; – David Sulc Nov 29 '10 at 1:18 awesome!
Thanks! – mtay Nov 29 '10 at 1:25.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.