styven
08-09-2011, 02:54 PM
Hi,
I am new on this forum, and my english is not quite good...
I have a little problem with the implementation of "google map" script:
the script is working fine, but when I enter a diferent address, the map is not opening in the little IFRAME window, is opening in a bigger window..
I post the code, please tell me where I made something wrong?
<div id="mapcontainer">
<div id="addrcolumn">
<ul class="location">
<li class="selected"><a class="menu_text_color" href="http://maps.google.com/maps?q=Eiffel+Tower,+Champ+de+Mars,+Paris,+France&hl=en&ll=48.858934,2.294362&spn=0.005802,0.013937&sll=43.667872,-79.378796&sspn=0.041349,0.111494&z=17&iwloc=A">Eiffel Tower, France</a><br />
5 Avenue Anatole France, 75007 Paris, France
</li>
<li><a class="menu_text_color" href="http://maps.google.ro/maps?q=Salina+Turda,+Turda,+Romania&hl=ro&ll=46.585028,23.776088&spn=0.017608,0.054932&sll=46.587771,23.777332&sspn=0.017607,0.038581&t=h&z=15&iwloc=A">Salina Turda</a><br />
Turda Salt Mine is one of the most beautiful salt mines from Transylvania
</li>
</ul>
</div>
<div id="mapcolumn">
<iframe name="mapiframe1" frameborder="2" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com?output=embed"></iframe>
<br /> <img src="../images/magnify.png" width="15" height="15"/> <a href="http://maps.google.com" target="_new" class="largermap">View Larger Map</a>
</div>
</div>
The first address is working like it should, but the second (marked with red) is opening in a bigger window size, I expect to opening like the first one...
Thanks in advance.
I am new on this forum, and my english is not quite good...
I have a little problem with the implementation of "google map" script:
the script is working fine, but when I enter a diferent address, the map is not opening in the little IFRAME window, is opening in a bigger window..
I post the code, please tell me where I made something wrong?
<div id="mapcontainer">
<div id="addrcolumn">
<ul class="location">
<li class="selected"><a class="menu_text_color" href="http://maps.google.com/maps?q=Eiffel+Tower,+Champ+de+Mars,+Paris,+France&hl=en&ll=48.858934,2.294362&spn=0.005802,0.013937&sll=43.667872,-79.378796&sspn=0.041349,0.111494&z=17&iwloc=A">Eiffel Tower, France</a><br />
5 Avenue Anatole France, 75007 Paris, France
</li>
<li><a class="menu_text_color" href="http://maps.google.ro/maps?q=Salina+Turda,+Turda,+Romania&hl=ro&ll=46.585028,23.776088&spn=0.017608,0.054932&sll=46.587771,23.777332&sspn=0.017607,0.038581&t=h&z=15&iwloc=A">Salina Turda</a><br />
Turda Salt Mine is one of the most beautiful salt mines from Transylvania
</li>
</ul>
</div>
<div id="mapcolumn">
<iframe name="mapiframe1" frameborder="2" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com?output=embed"></iframe>
<br /> <img src="../images/magnify.png" width="15" height="15"/> <a href="http://maps.google.com" target="_new" class="largermap">View Larger Map</a>
</div>
</div>
The first address is working like it should, but the second (marked with red) is opening in a bigger window size, I expect to opening like the first one...
Thanks in advance.