[jQuery] Re: change speed of animation during runtime

2008-10-28 Thread sissi

hi

i have added a ui.slider now that can be used to change the speed. The
animation stops when someone drags the slider and continues when the
slider is set to a new value.

it works in principle but somehow the whole animation is then quite
bumpy and not smooth anymore...can't really figure out why
yet..

cheers
sissi


[jQuery] change speed of animation during runtime

2008-10-27 Thread sissi

Hi folks

I got an animation that looks somewhat like this:

$('#pointer').animate({
left: activeItem.accumulatedWidth + 'px'
}, tempo, ' ' , function () {$(this).playShow(times-1)})

now I've added a beautiful ui.slider and want to give the user the
possibility to speed up or slow down the animation while it is
running

has anyone done something similar before?

thx
sissi


[jQuery] Re: Reinit $(document).ready(); -----HELP

2008-08-20 Thread sissi

hello again

I found the solution. The secret is to add an ajaxComplete-Event-
Handler to the element that gets the ajax-html attached.

That is the link that helped me:

http://drupal.org/node/274566

Cheers
Sissi


[jQuery] Re: Reinit $(document).ready(); -----HELP

2008-08-20 Thread sissi

Hi guys

I got a similar problem :-)

I want to get an element by ID that is inside the HTML that I've just
added via ajax. But when I look for the ID the new HTML is not
inserted completely yet so it doesnt find the element I am looking
for.

How can I do something like that: Wait with getting element by ID
until the new HTML has been added?

Thanks a lot!

Cheers
Sissi