I work on my own site and I am having some problems. I use jQuery along with the prototype, and I have its names, and so in this question it is assumed that you can use $ or jQ as a reference to names for jQuery.
So, I have a bunch of functions, some jQuery and javascript, some simple javascript, only some jQuery. Now, at present, some functions are defined inside the document.ready jQuery function, and some of them are defined outside it, for example:
jQ(document.ready(function($) {
if ( ifConfig ) {
fnc1();
fnc2();
fnc3();
fnc4();
}
function fnc1() {
}
function fnc2() {
}
});
function fnc3() {
}
function fnc4() {
}
, , . , . , undefined. . .
, / , , document.ready ? , . ? . ?
.