There are some very good reasons for putting scripts in either place.
However I agree that unless you know those reasons, inside the head
tag is the better option.

Chad Killingsworth

On Mar 15, 12:25 pm, Marcelo <[email protected]> wrote:
> On Mar 15, 5:35 pm, Chad Killingsworth
>
> <[email protected]> wrote:
> > Scripts can go in the body as well - however that one should be in the
> > head based on the way the onload function is called.
>
> Well, yes, strictly according to the W3C spec they can go anywhere,
> but putting them in the <body> can easily cause problems, especially
> if it is inside a <table>.
> Putting them in the <head> removes the potential for such problems,
> (and the page looks more organized).
>
> --
> Marcelo -http://maps.forum.nu
> --
>
>
>
> > Chad Killingsworth
>
> > On Mar 15, 10:23 am, Marcelo <[email protected]> wrote:
>
> > > On Mar 15, 1:28 pm, Abhishek <[email protected]> wrote:
>
> > > > This version is having issues in Opera and IE !!
> > > > working in FF and chrome !!
>
> > > Scripts go in the <head>, not in the <body>.
> > > And it is not working in Chrome 3 either.
>
> > > --
> > > Marcelo -http://maps.forum.nu
> > > --
>
> > > > Thanks,
> > > > Abhishek
>
> > > > On Mar 15, 7:01 am, Abhishek <[email protected]> wrote:
>
> > > > > Hello All,
>
> > > > > I need your help eagerly !! A day ago I added prettybox frame on Maps
> > > > > marker click event.
> > > > > worked great !! in All browsers
> > > > > That version is live here :http://imgbyte.com/mltest/
>
> > > > > Later on just added logo and some minor php tricks
> > > > > Working in Chrome , Firefox
> > > > > Issue with Opera 9.64 (I'm using), IE7
> > > > >  - No map is visible
>
> > > > > Could you help me to point out the error / mistake by me.
>
> > > > > Thanks.
> > > > > Abhishek

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to