eerne / scrollbar

MooTools Scrollbar class (extends Slider)
http://mild.ch/productslider
MIT License
29 stars 9 forks source link

Scroll doesn't work after Fx #3

Closed Yuniao closed 13 years ago

Yuniao commented 14 years ago

Hi. First of all thanks for this plug. It's awesome. I assume not to be a procoder, but it seems there is a little issue. Indeed, when i put the plug in a div everything just work perfectly, but when i put it in a div that has an effect (Tween with opacity to make it appear after an action), I have the text, the scrollbar which can move up and down (effect and mouse are perfect) BUT the text doesn't scroll with the scroll bar. It stay freeze. Maybe there is something special to do, but i've tried almost everything I could with my small knowledge.

You can have an exemple of the issue here:

http://manuel-ferrante.com/ & clic on the "about me" tab. All is here.

Thanks again!

P.s.: I Apologize for my english ...

eerne commented 14 years ago

Your english is fine!

Could you reproduce the problem on jsfiddle? Maybe you can fork http://jsfiddle.net/9AVvy/83/ and add the Fx.Tween so we can see a reduced version of the problem.

Thanks!

BTW: once you got it running, it would be nice if you add your Link on http://github.com/eerne/scrollbar/wiki

Yuniao commented 14 years ago

Hi! Thank you for this fast answer! :)! So I've made a reduced version of the problem (I guess. Hope so!) as requested, you can find it there: http://jsfiddle.net/j6wuP/

I'm sure there is something to do just easy as A,B,C, but my brain is totally disconnected, and nobody on forums seems to have an idea. Maybe the plug initialize in a wrong time and the fact that the div is hidden, play a role on this issue?

Thanks again for your answer.

eerne commented 14 years ago

I'm not sure there is so much code from your website on http://jsfiddle.net/j6wuP/

A few tips when working with jsfiddle:

ideally you add the Fx.Tween code to this very reduced demo: http://jsfiddle.net/tofu/9AVvy/87/

Yuniao commented 14 years ago

Ok sorry for the last try! Indeed, I cut off some stuff. So here is the new link with the less code possible...

Due to my small knowledge, I've prefered fork a new file. But right now I will try just add the Tween effect on you reduce demo.

Thanks again & sorry for my noobish style...

Yuniao commented 14 years ago

http://jsfiddle.net/TA6gd/3/

Better with the link -_-

Yuniao commented 14 years ago

Here is the reduce demo:

http://jsfiddle.net/9AVvy/98/

Thanks again for your help.

Yuniao commented 14 years ago

It's ok! I Fix it... I simply need to initialize the plug on my show function! Sometimes it's a good idea to reduce at its max a code!

Thanks for all! It's awesome!

eerne commented 13 years ago

Great you fixed it! Don't forget to add your link to http://github.com/eerne/scrollbar/wiki :)

Yuniao commented 13 years ago

No prob! I'll do it, when everything will work ^^! Soooooon! Thanks again for this plug and you kindness!