addthis

AddThis button will not work inside AJAX, but will work normally

冷暖自知 提交于 2019-12-03 00:24:45
Basically, this is what I'm doing. User visits site, loads "index.html" Within index.html, it automatically loads, through AJAX, "details.html" into a DIV. I put an ADDTHIS button on "details.html". However, for some reason , the roll-over doesn't work. When I visit details.html in the browser, the roll-over works. I'm guessing it's because of the AJAX? <a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=xa-4adf7e45288f5b21"> <img src="http://s7.addthis.com/static/btn/sm-share-en.gif" width="83" height="16" alt="Bookmark and Share" style="border:0;margin-top:16px;"/><

Addthis: Changing Description, Title, and Url being sent

╄→尐↘猪︶ㄣ 提交于 2019-12-01 01:40:23
问题 I am building a forum in PHP and I want users to be able to share the title and description of each post to facebook, twitter, ...etc using the Addthis social plugin. Here is the code Addthis has given me: <!-- AddThis Button BEGIN --> <div class="addthis_toolbox addthis_default_style " addthis:url="www.example.com" addthis:title="Example Title" addthis:description="Example Description"> <a class="addthis_button_preferred_1"></a> <a class="addthis_button_preferred_2"></a> <a class="addthis

Dealing with < in tw:counturl addthis plugin

一个人想着一个人 提交于 2019-12-01 01:03:42
I have an addthis plugin for displaying total number of tweets in my blogspot blog. I use it this way If i mention tw:counturl="my_specific_blogger_url" > it shows the exact number of tweets. But the problem is that in that case I can use only one link. To retrieve specific blog page url I use <data:blog.url/> . But if i use it in tw:counturl in the following way: tw:counturl="<data:blog.url/>" it shows as an error as tw:counturl cannot handle '<' tag. Is there a work around. The error is as follows The value of attribute "tw:counturl" associated with an element type "null" must not contain

Inserting addthis sharing buttons in a Meteor app?

爱⌒轻易说出口 提交于 2019-11-30 20:34:42
How do I insert addthis sharing buttons in a Meteor app? Usually, you can just copy the provided code directly into the html file: <!-- AddThis Button BEGIN --> <div class="addthis_toolbox addthis_default_style "> <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a> <a class="addthis_button_tweet"></a> <a class="addthis_button_pinterest_pinit"></a> <a class="addthis_counter addthis_pill_style"></a> </div> <script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget

Dealing with < in tw:counturl addthis plugin

泄露秘密 提交于 2019-11-30 19:20:01
问题 I have an addthis plugin for displaying total number of tweets in my blogspot blog. I use it this way If i mention tw:counturl="my_specific_blogger_url" > it shows the exact number of tweets. But the problem is that in that case I can use only one link. To retrieve specific blog page url I use <data:blog.url/> . But if i use it in tw:counturl in the following way: tw:counturl="<data:blog.url/>" it shows as an error as tw:counturl cannot handle '<' tag. Is there a work around. The error is as

Inserting addthis sharing buttons in a Meteor app?

只谈情不闲聊 提交于 2019-11-30 04:37:13
问题 How do I insert addthis sharing buttons in a Meteor app? Usually, you can just copy the provided code directly into the html file: <!-- AddThis Button BEGIN --> <div class="addthis_toolbox addthis_default_style "> <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a> <a class="addthis_button_tweet"></a> <a class="addthis_button_pinterest_pinit"></a> <a class="addthis_counter addthis_pill_style"></a> </div> <script type="text/javascript">var addthis_config = {"data_track

addthis share vs custom share button

房东的猫 提交于 2019-11-29 17:48:45
i need to add to my website a share-feature. this php page should allow users to share my webiste on the social network, but i need to set a custom url, title, description and image. i have try with addthis share buttons, but i m not sure that is possibile to fully customize the buttons... right? there are other services like that? or in my case is better to add share button with facebook api, twitter api,..? this is the addthis share code: <div class="addthis_toolbox addthis_default_style addthis_32x32_style"> <a class="addthis_button_preferred_1"></a> <a class="addthis_button_preferred_2"><

Right border of the AddThis counter missing with Twitter's Bootstrap 3

自闭症网瘾萝莉.ら 提交于 2019-11-29 16:37:07
When using the default code from http://www.addthis.com/ with Twitter's Bootstrap 3 the right border of the counter is missing: Bass Jobsen Twitter's Bootstrap 3 use a CSS's universal selector to set box-sizing (see: https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing ) to border-box. This will be save cause support for IE7 has been dropped. This selector breaks the AddThis counter. The counter is set by: <a class="addthis_counter addthis_bubble_style"></a> . Solution : Reset the box-sizing for the .addthis_counter class. Add the following code after your bootstrap css: .addthis

How to change Content Security Policy directive to allow for addThis widget?

╄→гoц情女王★ 提交于 2019-11-29 15:39:48
I am making a site that uses webpack. I am about to launch it and I want to put on addThis share widget. I am adding the addThis code in the index.html right before closing body tag as advised by addThis . Like this: <!-- Go to www.addthis.com/dashboard to customize your tools --> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra- ###MY_NUMBERS###"></script> </body> this generates the following error in chrome-inspect console: Refused to load the script ' http://s7.addthis.com/js/300/addthis_widget.js ' because it violates the following Content Security

AddThis buttons wont update to include fragment (#Hash Tag)

痞子三分冷 提交于 2019-11-29 05:11:20
I have these AddThis buttons on my website, and my site uses JS to take a user though an image gallery, when changing an image the URL is updated with the image title in the fragment element, the problem I have is this is not being reflected in the AddThis links. I've tried to get some answers from the AddThis forums, but was pointed at the api documentation and the addthis.toolbox() function, but it doesn't seem to be working out for me, so I thought I'd run it past the experts here. This is my AddThis code on the basic page. <!-- AddThis Button BEGIN --> <div class="addthis_toolbox addthis