我正在尝试在谷歌地图上为每个标记添加 disqus 评论。为了使其成为每个标记,我在信息窗口中添加了一个 iframe,每个标记都有不同的 URL。它有效,我可以发表评论,但信息窗口在成功发布后没有更新;微调器仍然存在。萤火虫 说:
Access to 'file:///foo/gmap/comments.html?dsq=12066893#comment-12066893' from script denied
redirect()thread?x...200)&cbp= (line 11)
onload(load )
HTML 代码如下所示:
我的 GMapEZ 地图
<div class="GMapEZ GSmallMapControl GSmallMapTypeControl"
style="width: 300px; height: 300px;">
<a href="http://maps.google.com/maps?ll=41.092104,-85.144740&spn=0.006130,0.009795&t=k&hl=en">
A
</a>
<div>
<iframe src='comments.html'>
</div>
</div>
评论页面如下所示:
<script>
var disqus_developer = "1";
</script>
<script type="text/javascript" src="http://disqus.com/forums/firehazard/embed.js"></script>