当动态包含js文件时,LinkedIn的社交共享链接在Firefox中不起作用。
请参阅在线problem demo here。
我有以下包含facebook、twitter和链接的分享链接的html:
<a id="FBshare_{{MashupId}}" name="fb_share" type="box_count" share_url="http://google.com"></a>
<a id="TWshare_{{MashupId}}" href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-url="http://google.com">Tweet</a>
<script data-counter="top" type="in/share" data-url="http://google.com"></script>和以下javascript代码:
// this script just does not work, I dont know why.
$.getScript("http://platform.linkedin.com/in.js");
$.getScript("http://static.ak.fbcdn.net/connect.php/js/FB.Share");
$.getScript("http://platform.twitter.com/widgets.js");但由于某些原因,链接的脚本不起作用,链接的共享链接也不显示。
任何帮助都将不胜感激。
发布于 2012-01-05 08:20:08
你jsFiddle上的linkedin代码在火狐上对我来说工作得很好。尝试将firefox更新到最新版本。我的版本是v8.0
https://stackoverflow.com/questions/4603535
复制相似问题