<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1042768" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1042768</link>
    <description></description>
    <language>en</language>
          <item>
    <title>The issue in Firefox seems</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/it-possible-make-google-maps-open-new-window-when-you-click-map-image#comment-1241173</link>
    <description> &lt;p&gt;The issue in Firefox seems to be how FF handles new windows - if you hold down the CTL key when you click, the new window/tab opens as in IE and the original window is preserved.&lt;/p&gt;
&lt;p&gt;I have not found a fix for that yet. I do not think it is possible to simulate the CTL key press and I have tried setting the new window target to &quot;_blank&quot; but no luck.&lt;/p&gt;
 </description>
     <pubDate>Fri, 01 May 2009 22:28:43 +0000</pubDate>
 <dc:creator>decibel.places</dc:creator>
 <guid isPermaLink="false">comment 1241173 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Amazingly this works for me</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/it-possible-make-google-maps-open-new-window-when-you-click-map-image#comment-1241160</link>
    <description> &lt;p&gt;Amazingly this works for me in IE6 and IE7. The behavior is strange in Firefox. When I click on the link on the map in the iframe, a new window is opened. However the parent page also goes to google. Any ideas how to keep the parent page from going to google too?&lt;/p&gt;
 </description>
     <pubDate>Fri, 01 May 2009 14:39:44 +0000</pubDate>
 <dc:creator>marslizard</dc:creator>
 <guid isPermaLink="false">comment 1241160 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Excellent point! 
I have</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/it-possible-make-google-maps-open-new-window-when-you-click-map-image#comment-1237136</link>
    <description> &lt;p&gt;Excellent point! &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/tongue.png&quot; title=&quot;Sticking out tongue&quot; alt=&quot;Sticking out tongue&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;I have updated the code above to activate if the mouse is over the iframe...&lt;/p&gt;
&lt;p&gt;seems to work in IE, Ffox, Opera&lt;/p&gt;
 </description>
     <pubDate>Fri, 16 Jan 2009 22:00:34 +0000</pubDate>
 <dc:creator>decibel.places</dc:creator>
 <guid isPermaLink="false">comment 1237136 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>As you noted, you have</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/it-possible-make-google-maps-open-new-window-when-you-click-map-image#comment-1237131</link>
    <description> &lt;p&gt;As you noted, you have little control over the Google maps doc in the iframe.&lt;/p&gt;
&lt;p&gt;Pop the map open in a new window and retain the original doc in the opener window.&lt;/p&gt;
&lt;p&gt;You need to hardcode the map link url into the opener.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;UPDATED CODE!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;html&amp;gt;&lt;br /&gt; &amp;lt;head&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;title&amp;gt; new document &amp;lt;/title&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;meta name=&amp;quot;keywords&amp;quot; content=&amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;meta name=&amp;quot;description&amp;quot; content=&amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;script language=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;!--&lt;br /&gt;	var gmap = false;&lt;br /&gt;	onunload = function() {&lt;br /&gt;	if (gmap)&lt;br /&gt;		{&lt;br /&gt;		location = self.location.href;&lt;br /&gt;		window.open(&amp;quot;http://maps.google.co.uk/maps?f=q&amp;amp;hl=en&amp;amp;geocode=&amp;amp;q=W1F+7TA&amp;amp;ie=UTF8&amp;amp;s=AARTsJowriHHOt7le7PzJka7tTgSleZODQ&amp;amp;view=map&amp;quot;,&amp;quot;googwin&amp;quot;);&lt;br /&gt;		}&lt;br /&gt;	}&lt;br /&gt;&amp;nbsp; //--&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/script&amp;gt;&lt;br /&gt; &amp;lt;/head&amp;gt;&lt;br /&gt;&lt;br /&gt; &amp;lt;body&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;iframe onmouseover=&amp;quot;gmap=true&amp;quot; onmouseout=&amp;quot;gmap=false&amp;quot; class=&amp;quot;iframeBorder&amp;quot; width=&amp;quot;505&amp;quot; height=&amp;quot;350&amp;quot; frameborder=&amp;quot;0&amp;quot; scrolling=&amp;quot;no&amp;quot; marginheight=&amp;quot;0&amp;quot; marginwidth=&amp;quot;0&amp;quot; src=&amp;quot;http://maps.google.co.uk/maps?f=q&amp;amp;amp;hl=en&amp;amp;amp;geocode=&amp;amp;amp;q=W1F+7TA&amp;amp;amp;ie=UTF8&amp;amp;amp;ll=51.520654,-0.135956&amp;amp;amp;spn=0.006223,0.019484&amp;amp;amp;z=14&amp;amp;amp;iwloc=addr&amp;amp;amp;output=embed&amp;amp;amp;s=AARTsJowriHHOt7le7PzJka7tTgSleZODQ&amp;quot;&amp;gt;&amp;lt;/iframe&amp;gt;&lt;br /&gt; &amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;you could perhaps open a &lt;a href=&quot;http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/dhtmlmodal.htm&quot;&gt;modal window or lightbox&lt;/a&gt; - but that is another technique&lt;/p&gt;
 </description>
     <pubDate>Fri, 16 Jan 2009 21:59:22 +0000</pubDate>
 <dc:creator>decibel.places</dc:creator>
 <guid isPermaLink="false">comment 1237131 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Hi thanks for the reply,</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/it-possible-make-google-maps-open-new-window-when-you-click-map-image#comment-1237133</link>
    <description> &lt;p&gt;Hi thanks for the reply, i&#039;ve had a look at your example and it seems to work ok, however there is a slight flaw in that it seems to open endless amounts of windows - so much so that i had to quit my browser as i couldnt keep up with the closing of them lol.&lt;/p&gt;
&lt;p&gt;Unfortunately i&#039;m not great at Javascript so would appreciate your advice.&lt;br /&gt;
I had thought of the lightbox method, however the client ruled that out as they didnt like it!&lt;/p&gt;
 </description>
     <pubDate>Fri, 16 Jan 2009 20:30:14 +0000</pubDate>
 <dc:creator>vneal</dc:creator>
 <guid isPermaLink="false">comment 1237133 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
