Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Change function animation duration? Reply To: Change function animation duration?

#158656
Rugg
Participant

@mcjohnst

Excellent explanation! Super clear and easy to understand…thank you. Actually, I now remember reading something about this before, but completely let it escape my memory.

Any idea how I can make the speed variable work outside the fn.extend? It needs to be accessed by other functions that are absent from the sample.

Here is a working fiddle with the speed variable exclusive to the first function: http://jsfiddle.net/nLgLP/