2013-10-13 202 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