2013-10-13 311 views
0

我从这里https://developers.facebook.com/docs/plugins/comments/阅读了Facebook的评论API和不明白他们的意思是:Facebook的评论API - Facebook的意思是“评论框后面”?

Simply grab the comments from the API and 
render them in the body of your page behind the comments box 

我知道如何虎视眈眈,但我如何使它们behind the comments box?评论框是一个iframe,我不能插入任何内容,对吧?它们是什么意思behind the comments box

任何指导,我将感谢

回答

1

HTML是根据在代码中的元素的顺序层叠。

您还可以使用CSS中的z-indexposition属性来控制此属性。

我想他们的意思是你应该渲染一个较低的z-index,然后是包含元素的评论框。

+0

所以,这意味着我会让抓取的文本对用户不可见,对吧? – doniyor

+0

似乎喜欢它,你可以使用这部分API检查其他网站的源代码。 – raam86

+0

不是那么不好,因为我隐藏了用户的一些文本,但向搜索引擎显示? – doniyor