Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- calling & defining functions using funcName() vs. window['funcName']()


daveVk - 10:25 pm on Jan 8, 2013 (gmt 0)


It gets tricky if I have one series of text effect functions in one file, and a series of different functions in another file, and the script alternates between the two types of text effect. Then there's a chicken & egg setup where each must go before the other at different times.


If you define all functions outside of ready function, and execute only on ready, situation does not occur.


Thread source:: http://www.webmasterworld.com/javascript/4533285.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com