厚盒 +谷歌地图不显示?

发布于 2024-11-25 12:07:20 字数 1663 浏览 1 评论 0原文

我的 DNN 窗格中有这个 HTML:

<div class="mapImage"><span xmlns="http://www.w3.org/1999/xhtml"><a href="#TB_inlinemodalContent?height=350&amp;width=500&amp;inlineId=modalContent"><img alt="" width="193" height="235" src="/Portals/5/home-3_03.png" /></a></span></div>

<a href="#TB_inlinemodalContent?height=400&amp;width=430&amp;inlineId=modalContent" title="add a caption to title attribute / or leave blank" class="thickbox">Show hidden modal content.</a>

<div id="modalContent" style="display: none;">
<iframe width="500" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.co.uk/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=E11+4YE&amp;aq=&amp;sll=52.155202,-0.476543&amp;sspn=0.003864,0.011362&amp;ie=UTF8&amp;hq=&amp;hnear=London+E11+4YE,+United+Kingdom&amp;ll=51.557596,0.004206&amp;spn=0.018677,0.042915&amp;z=14&amp;iwloc=A&amp;output=embed"></iframe><br /><small><a href="http://maps.google.co.uk/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=E11+4YE&amp;aq=&amp;sll=52.155202,-0.476543&amp;sspn=0.003864,0.011362&amp;ie=UTF8&amp;hq=&amp;hnear=London+E11+4YE,+United+Kingdom&amp;ll=51.557596,0.004206&amp;spn=0.018677,0.042915&amp;z=14&amp;iwloc=A" style="color:#0000FF;text-align:left">View Larger Map</a></small>
</div>

但出现的只是一个黑盒子,就好像厚盒子试图打开一样。但没有地图显示? 有什么想法吗?我希望当我单击网页上的图像时显示地图。

还有其他真正有用的灯箱吗?

谢谢

I have this HTML in my DNN pane:

<div class="mapImage"><span xmlns="http://www.w3.org/1999/xhtml"><a href="#TB_inlinemodalContent?height=350&width=500&inlineId=modalContent"><img alt="" width="193" height="235" src="/Portals/5/home-3_03.png" /></a></span></div>

<a href="#TB_inlinemodalContent?height=400&width=430&inlineId=modalContent" title="add a caption to title attribute / or leave blank" class="thickbox">Show hidden modal content.</a>

<div id="modalContent" style="display: none;">
<iframe width="500" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.co.uk/maps?f=q&source=s_q&hl=en&geocode=&q=E11+4YE&aq=&sll=52.155202,-0.476543&sspn=0.003864,0.011362&ie=UTF8&hq=&hnear=London+E11+4YE,+United+Kingdom&ll=51.557596,0.004206&spn=0.018677,0.042915&z=14&iwloc=A&output=embed"></iframe><br /><small><a href="http://maps.google.co.uk/maps?f=q&source=embed&hl=en&geocode=&q=E11+4YE&aq=&sll=52.155202,-0.476543&sspn=0.003864,0.011362&ie=UTF8&hq=&hnear=London+E11+4YE,+United+Kingdom&ll=51.557596,0.004206&spn=0.018677,0.042915&z=14&iwloc=A" style="color:#0000FF;text-align:left">View Larger Map</a></small>
</div>

but all that comes is a black box as if the thickbox is trying to open. but no map shows?
any ideas? I want the map to appear when i click the image on my webpage.

any other light boxes that actually work?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

撩起发的微风 2024-12-02 12:07:20

亲爱的,将您的 div 内容放在 p 标签内,即

Dear enclose your div content inside p tag i.e
<div id="modalContent" style="display: none"> <p> your text and images etc... </p> </div>

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文