0
我正在尝试在google地图上添加disqus注释标记。为了使它成为每个标记,我已经为infowindow添加了一个iframe,并为每个标记添加了一个不同的URL。它可以工作,我可以发表评论,但infowindow在成功发布后不会更新;纺纱工依然存在。萤火虫说:如何在iframe中运行disqus?
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>