addthis

Addthis Facebook description and title

余生长醉 提交于 2019-12-24 08:48:20
问题 I've added a Addthis script to my Facebook page tab; <div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:title="MY TITLE" addthis:description="MY TITLE"> <a class="addthis_button_preferred_1"></a> <a class="addthis_button_preferred_2"></a> <a class="addthis_button_compact"></a> <a class="addthis_counter addthis_bubble_style"></a> </div> <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=XXXX"> </script> I've also added the

is it possible to manually call a click on a dom object?

寵の児 提交于 2019-12-23 17:46:46
问题 I am using addthis and they have a bunch of obfuscated code that I am loathe to dig through in their embedded javascript. I would like to "click" one of their buttons on my page without the user having to touch it. So, in essence, there is a <a> that contains their button (which their embedded javascript handles when the user clicks it). I would like to "click" it for them, via my own javascript, but don't see anything like a native "clickMe()" function associated with the anchor tag object.

AddThis not working after ajax load

早过忘川 提交于 2019-12-23 07:28:45
问题 I have the AddThis js for bookmarking the details to the calender.This is working correctly on page load,but I do some filtering using ajax load and replace the html, after this the AddThis button not showing.here is my code for ajax . $('document').ready(function () { $('.eventSelect').change(function () { var selectedDate = $('#eventDate').val(); var keyword = $('#eventsearch').val(); var url = "/EventsHome?eventDate=" + selectedDate + "&keyword=" + keyword; $.ajax({ type: "GET" , url: url

AddThis not working after ajax load

ぃ、小莉子 提交于 2019-12-23 07:28:24
问题 I have the AddThis js for bookmarking the details to the calender.This is working correctly on page load,but I do some filtering using ajax load and replace the html, after this the AddThis button not showing.here is my code for ajax . $('document').ready(function () { $('.eventSelect').change(function () { var selectedDate = $('#eventDate').val(); var keyword = $('#eventsearch').val(); var url = "/EventsHome?eventDate=" + selectedDate + "&keyword=" + keyword; $.ajax({ type: "GET" , url: url

How Do I Prevent AddThis From Using Cookies On My Site?

♀尐吖头ヾ 提交于 2019-12-22 10:26:41
问题 I'm using the AddThis component on a site to add social-bookmarking functionality. However I don't want their code adding cookies to my visitors. How can I use the component but prevent it from using cookies? 回答1: Use the data_use_cookies config parameter when setting up the component: <script type="text/javascript">var addthis_config = {data_use_cookies_ondomain: !1, data_use_cookies: !1};</script> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra

Addthis not loading on ajax content

笑着哭i 提交于 2019-12-22 06:09:11
问题 I am trying to load addthis button on dynamically loaded content but even though the script is loaded addthis toolbar doesnt appear. jQuery(".somediv").html(response); // dynamically loaded content jQuery.getScript("//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-53a011f32e6cd338") .done(function () { addthis.init(); addthis.toolbox('.addthis_sharing_toolbox'); }) And below is the html content <div class="addthis_sharing_toolbox"></div> Please help. 回答1: @amit I was facing the same problem

How to configure addthis so that it won't create the hash data in the URL that I am going to share?

早过忘川 提交于 2019-12-21 15:26:45
问题 When I share a page, addthis creates some data/ infomation after my share URL with a hash(#) - how I can configure addthis so that it won't create the hash data in the URL that I am going to share? For instance, addthis makes these, http://mywebsite.com/#.Ufs8RtZRjpU.facebook http://mywebsite.com/#.Ufs8oc2zPtQ.twitter I am after, http://mywebsite.com/ http://mywebsite.com/ Is it possible? edit: <!-- AddThis Button BEGIN --> <script type="text/javascript">var addthis_config = { pubid:

Packaging jar is invalid Aggregator project need pom as packaging

依然范特西╮ 提交于 2019-12-19 00:24:17
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> In My project I have different modules. Each module have pom.xml in which packaging is a jar. And each pom refer to common parent. In parent module there is also a pom.xml which includes all the modules. But when i tried to make the packaging in the pom.xml of parent module it shows the error that is "Packaging jar is invalid Aggregator project need pom as packaging". I want to make the executable jar of the application from maven so,what is the solution for this problem or is there is any other solution. 解决方法: To make things short: if your parent-aggregator

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

穿精又带淫゛_ 提交于 2019-12-18 09:11:36
问题 When using the default code from http://www.addthis.com/ with Twitter's Bootstrap 3 the right border of the counter is missing: 回答1: 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

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

南笙酒味 提交于 2019-12-18 04:23:30
问题 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