Hiya,..

Why is javascript written in the code treated any different than
javascript *included* in the code?
I have an example where the browser bombs-out on inline-code
(unterminated string literal because the browser isn't seeing the
terminating double-quotes) but is happy if I put the .js in an
external file and then use an include.

ex.

This doesn't succeed:  http://arve.epfl.ch/test/example4-a.html
   (which defines initialize() in the same file)

This does:  http://arve.epfl.ch/test/example4-b.html
   (which does defines initialize in the external file example4-b.js )

Besides that version -a bombing out, NEITHER example actually executes
the code in the infoWindow.
And even if I simplify the javascript for the infowindow to a simple
alert('whatever') that javascript isn't ever run when the infowindow
opens.



-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to