Many thanks to all for your help.
It is now Working! ;-)
If anyone is looking for this answer in the future:
I had to add .bind(this) and I had to actually add the options to the
constructor, which I thought was optional;
All the best,
There is a bind paramater for each,some,filter, etc...:
this.headings.each( function(heading, i, el) {
// yada yada
}, this);
On 09/13/2012 01:58 PM, rasmusfl0e wrote:
You're missing a bind on the each loop in the slide method:
this.headings.each( function(heading, i, el) {
// yada y
You're missing a bind on the each loop in the slide method:
this.headings.each( function(heading, i, el) {
// yada yada
}.bind(this));
On Thursday, September 13, 2012 12:09:07 AM UTC+2, Douglas Machado wrote:
>
> @rasmusfl0e,
>
> Thanks for your reply, however it did not work;
>
> Also, I h