[jQuery] jQuery, the Ready Function, and Other Javascript - A Dirt Simple Inquiry
QUESTION: What is the general rule for using the Ready function in
the presence of other Javascript?
BACKGROUND: I have recently discovered that my previous problems with
the customization of the jQ Impromptu plug-in could be overcome
through isolation. In effect, I removed my script from the targeted
document, eliminated all of my self-created jQuery methods with the
exception of one, and tried the "package" in a different, separate
document. Everything functioned as intended.
With renewed confidence I am now ready to return the "package" to the
originally targeted document. This is where you may be able to
help.
Please examine the script below and note that I am using the Ready
function in combination with other script tags. I have organized the
script tags according to use or non-use with the Ready function.
Everything before the Ready function is called either directly or
indirectly by the Ready function. Everything after it is not.
Do you see a possible source of error?
<link href="../SpryAssets/SpryAccordion.css" rel="stylesheet"
type="text/css" />
<link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet"
type="text/css" />
<link href="../CSS/imagine.css" rel="stylesheet" type="text/css" />
<link href="../CSS/jQ_Impromptu.css" rel="stylesheet" type="text/css" /