On Sun, May 1, 2011 at 3:02 PM, hamburger <[email protected]> wrote:

> Hello,
> I finished my first moo-class today.
>

Congrats!


> Can somebody have a quick look over it please?
> I'am not sure that I declared these this.selector =...-stuff in the
> right way.
>

Nothing glaringly wrong to me.


> I have the sneaking suspicion that it has a bad influence on the
> browser-performance.
>

Why?
For one, you're doing nothing evil with timers; the scroll action is timer
based, but that is small code. Running at 50 fps, okay.
Haven't heard that keeping a set of references into the DOM around in JS
would kill browser perf, so I guess you should be fine.


>
> http://jsfiddle.net/YJFut/
>
> thanks for any suggestion in advance.
>
>
See
http://jsfiddle.net/YJFut/1/
(nuked the CSS good looks in there, terribly sorry)

nothing unmooy in there that I can spot; could play with it, so for me it
passes the most basic acid test.



-- 
Met vriendelijke groeten / Best regards,

Ger Hobbelt

--------------------------------------------------
web:    http://www.hobbelt.com/
        http://www.hebbut.net/
mail:   [email protected]
mobile: +31-6-11 120 978
--------------------------------------------------

Reply via email to