Facebook の sharer.php を介してサイトの資料を共有する際に問題が発生する
標準コードでウィンドウを開きます。
url = "http://www.facebook.com/sharer.php?s=100&p[title]=" + encodeURIComponent(title) + "&p[summary]=" + encodeURIComponent(description) + "&p[url]=" + encodeURIComponent(url) + "&p[images][0]=" + encodeURIComponent(image) + "&nocache=" + randomString(8);
window.open(url, '', 'toolbar=0,status=0,width=626,height=436');
p[images][0] には正しい画像の URL があります。
完全な URL の例: CLICKCLAC
Firebug でわかるように、DOM ツリーには正しい画像がありますが、「hidden_elem」クラスがハングしています。友達、それを機能させる方法はありますか?
または、iframeウィンドウでjsを起動する方法:D