厚盒 +谷歌地图不显示?
我的 DNN 窗格中有这个 HTML:
<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>
但出现的只是一个黑盒子,就好像厚盒子试图打开一样。但没有地图显示? 有什么想法吗?我希望当我单击网页上的图像时显示地图。
还有其他真正有用的灯箱吗?
谢谢
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
亲爱的,将您的 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>