9

我在 Wordpress 中并将这个 iframe 插入到文本小部件中。但是,我无法让地址弹出窗口消失。

我都试过了iwloc=neariwlock=NoSuchMarker在第五行结束一个href)

<iframe width="295" height="250" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=3904+Washington+Parkway,+Idaho+Falls,+Idaho&amp;aq=0&amp;oq=3904+washington+parkway+idah&amp;sll=41.833733,-87.731964&amp;sspn=0.929078,2.113495&amp;ie=UTF8&amp;hq=&amp;hnear=3904+Washington+Pkwy,+Idaho+Falls,+Bonneville,+Idaho+83404&amp;t=p&amp;ll=43.466874,-111.993513&amp;spn=0.015573,0.025406&amp;z=14&amp;iwloc=A&amp;output=embed">
</iframe>
<br />
<small>
<a href="https://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=3904+Washington+Parkway,+Idaho+Falls,+Idaho&amp;aq=0&amp;oq=3904+washington+parkway+idah&amp;sll=41.833733,-87.731964&amp;sspn=0.929078,2.113495&amp;ie=UTF8&amp;hq=&amp;hnear=3904+Washington+Pkwy,+Idaho+Falls,+Bonneville,+Idaho+83404&amp;t=p&amp;ll=43.466874,-111.993513&amp;spn=0.015573,0.025406&amp;z=14&amp;iwloc=near">
</a>
</small>
4

1 回答 1

8

以下对我有用。我将 iwloc=A 更新为 iwloc=near。您在 iframe之后的标签中添加了该代码,而不是在 iframe src 本身中。

<iframe width="295" height="250" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=3904+Washington+Parkway,+Idaho+Falls,+Idaho&amp;aq=0&amp;oq=3904+washington+parkway+idah&amp;sll=41.833733,-87.731964&amp;sspn=0.929078,2.113495&amp;ie=UTF8&amp;hq=&amp;hnear=3904+Washington+Pkwy,+Idaho+Falls,+Bonneville,+Idaho+83404&amp;t=p&amp;ll=43.466874,-111.993513&amp;spn=0.015573,0.025406&amp;z=14&amp;iwloc=near&amp;output=embed">
</iframe>
<br />
<small>
<a href="https://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=3904+Washington+Parkway,+Idaho+Falls,+Idaho&amp;aq=0&amp;oq=3904+washington+parkway+idah&amp;sll=41.833733,-87.731964&amp;sspn=0.929078,2.113495&amp;ie=UTF8&amp;hq=&amp;hnear=3904+Washington+Pkwy,+Idaho+Falls,+Bonneville,+Idaho+83404&amp;t=p&amp;ll=43.466874,-111.993513&amp;spn=0.015573,0.025406&amp;z=14&amp;iwloc=near">
</a>
</small>
于 2013-01-24T23:43:47.550 回答