2011-10-25 42 views
0

嘿,我正試圖在頁面上放一個像框。當我把代碼放在facebook給我(這是iframe)時,一切似乎都很好,但是當我預覽它時(Chrome,IE,Firefox,Safari),它表示無法找到該網頁。它把我推上了牆!我究竟做錯了什麼!把facebook放入Dreamweaver中,不加載

<iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2F%23%21%2Fpages%2FGarlands-Restaurant-Bar-Grill%2F206020489468223&amp;width=192&amp;colorscheme=light&amp;show_faces=true&amp;border_color&amp;stream=true&amp;header=true&amp;height=590" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:192px; height:590px;" allowTransparency="true"></iframe> 

回答

1
前綴 HTTP的SRC

丟失。試試這個:

<iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2F%23%21%2Fpages%2FGarlands-Restaurant-Bar-Grill%2F206020489468223&amp;width=192&amp;colorscheme=light&amp;show_faces=true&amp;border_color&amp;stream=true&amp;header=true&amp;height=590" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:192px; height:590px;" allowTransparency="true"></iframe>