1. Do you get errors if you remove the last 2 spry scripts?
2. Regardless of which script does what, you should put the $().ready
( always after all the scripts as a safety measure, there's no
negative impact.
3. If I remember a recent discussion, you shouldn't use the vsdoc
version of jQuery, it's only for the VS auto-complete. Load the normal
one from http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js


On May 26, 4:22 am, kiusau <kiu...@mac.com> wrote:
> 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" /
>
> <script src="../JavaScript/jQuery-1.3.2-vsdoc2.js" type="text/
> javascript"></script>
> <script src="../JavaScript/errorMessages.js" type="text/javascript"></
> script>
> <script src="../JavaScript/popUpBoxConfiguration.js" type="text/
> javascript"></script>
> <script src="../JavaScript/jQ_browserIdentification.js" type="text/
> javascript"></script>
> <script src="../JavaScript/jQ_Impromptu-2.5.js" type="text/
> javascript"></script>
> <script src="../JavaScript/jQ_Imagine.js" type="text/javascript"></
> script>
> <script src="../JavaScript/SVG_roundies_0.0.2a.js" type="text/
> javascript"></script>
> <script type="text/javascript">
>         $(document).ready(function() {
>                 $('#today').toDate();
>                 $('#clock').JSClock();
>                 $('#duration').timePassed();
>                 $('body').SVG_RoundiesIntializer();
>                 $().getBrowserInformation();
>         });
> </script>
> <script src="../SpryAssets/SpryAccordion.js" type="text/javascript"></
> script>
> <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></
> script>
>
> Roddy

Reply via email to