jessyink-team team mailing list archive
-
jessyink-team team
-
Mailing list archive
-
Message #00044
Re: updated the keyboard branch...
Hi!
You could save the slide number in the slides array, but since you have
> it when the event handler is assigned, you can put it there as a string.
> Something down the lines of:
>
> node.setAttribute("onmouseover", "if ((currentMode == INDEX_MODE) &&
> (activeSlide != " + counter + ")) { indexSetActiveSlide(" + counter +
> "); };");
>
I see what you did! Very neat! Require more memory maybe... but then it
saves one call... and doesn't require counter to be saved as an attribute...
tempting!
I'll give it a go.
Cheers,
Egor
References