I've noticed you're using defer on all the scripts. Don't. Especially
not on jQuery related scripts. You should just remove the defer on all
of the script tags.

On Mar 4, 3:03 pm, James <james.gp....@gmail.com> wrote:
> In your script tag, try using defer="defer" instead of just defer. Or
> try just removing the defer altogether and see what happens.
>
> On Mar 4, 2:26 pm, annam <ann...@gmail.com> wrote:
>
> > tried it, didnt really find anything. also installed companion.js ,
> > which also found an error in my document.ready line..
> > so i removed all the code from within the document.ready function but
> > the error is still there!
>
> > this is the code i kept:
>
> > <script type="text/javascript">
> > $(document).ready(function() {
>
> > });
>
> > </script>
>
> > the companion.js errors are:
>
> > Object expected         ($(document).ready(function() { line)
> > Syntax error               (<script type="text/javascript"> line)
>
> > and these are the jquery scripts i have embedded in the page.
> > everything is in the head, with the inline script under the embedded
> > ones
>
> > <script defer type="text/javascript" src="scripts/jquery-1.3.2.js"></
> > script>
> > <script defer type="text/javascript" src="scripts/jquery.color.js"></
> > script>
> > <script defer type="text/javascript" src="scripts/
> > jquery.lightbox-0.5.pack.js"></script>
> > <script defer type="text/javascript" src="scripts/
> > jquery.scrollTo-1.4.0-min.js"></script>
> > <script defer type="text/javascript" src="scripts/
> > jquery.serialScroll-1.2.1-min.js"></script>
>
> > tnx
>
>

Reply via email to