Bruce, I run a Frappr map (= Google) and it uses
http://www.frappr.com/ajax/mapwidget.js to build an iframe.

Your html looks like this:

<p align="center"><script>
var frappr_mapheight = 300;
var frappr_mapwidth = 300;
var frappr_maplat = 53.5752465;
var frappr_maplon = -98.14;
var frappr_mapzoom = 14;
var frappr_host = "http://www.frappr.com/";var gid = 67723;</script>
<script src="http://www.frappr.com/ajax/mapwidget.js";></script></p>

So what you're trying to do sounds feasible. It almost looks too simple... ;-)

Gerry

On 3/16/07, bruce <[EMAIL PROTECTED]> wrote:
>
> here's how i understand it with a very limited amont of time to research
> this.
>
> the basic ajax/jscript allows for asynch communications between the server
> that serves the jscript file. cross-domain issues arise when you'd want the
> ajax/jscript to not only communicate with the 'hosted'/parent server, but
> also to another server's api as well, (with this server being in another
> domain).
>
> this is why in the html/php, you'll have the following kind of code:
> <script>
> <src='http://www.google.com/api/maps/foo?....'>
> </script>

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to