Thanks Rossko, but now Im getting an error in Firefox Error Console Error: Missing ; Before Statement
On Jul 28, 2:08 am, Rossko <[email protected]> wrote: > > var html = '<div id="simple_example_window_photo_container" > > style="background:url("' +photo+ '")"> <div id= .... > > It's a quotes thing, that would build a string like > <div id="simple_example_window_photo_container" > style="background:url( " photo.jpg " ) "> > Note the nested double quotes in > style="background:url( " photo.jpg " ) " > which the browser will see as > style="background:url( " > followed by garbage > > Try using escaped singles /' > style="background:url ( /' ' +photo+ ' /' ) " > ... -- You received this message because you are subscribed to the Google Groups "Google Maps API" 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-api?hl=en.
