Klaus Hartl schrieb:
Klaus Hartl schrieb:
Hi there,
I wanted to use Interface's bounce effect for a fixed positioned
element - an element that gets moved into view from the top and than
bounces a little at the end (like it was falling down).
Unfortunately the effect is messed up for such fixed positioned
element. From a quick look it is because of the following line in
ifxbounce.js:
if (z.oldStyle.position != 'relative' && z.oldStyle.position !=
'absolute') {
z.el.css('position', 'relative');
}
There's no check for "fixed", thus my element gets relative
positioned when applying the effect.
I could easily fix this, but I don't know which files else I have to
include? Can anybody help me?
In addition, I think this should go into Interface anyway.
John made a cool effect for a new download manager section that
bounces down exactly the way I need to have it. Does anybody know if
this is available somewhere?
Happy coding, in a hurry, Klaus
Found the dependencies section... it's working already... But I'm
still interested in how the effect for the download manager was done.
Moreover I think it would be useful to be able to specify the number
of times the element shall bounce. I customized it to 3 for my current
needs for example.
Should I commit my fix?
I'd find that quite useful.
--
Jörn Zaefferer
http://bassistance.de