开发者

Controlling the ShareThis javascript window opens

开发者 https://www.devze.com 2023-04-07 17:02 出处:网络
I have just started using ShareThis Widget to help handle social media integration with one of our sites. While the functionality is great, I feel I lose a lot of the capabilities I have if I were to

I have just started using ShareThis Widget to help handle social media integration with one of our sites. While the functionality is great, I feel I lose a lot of the capabilities I have if I were to code each item by hand, such as the ability to control the size of the windows opened by clicking a 'share' functionality.

While their site shows basic functions you can add to the buttons (url, etc) I am looking to customize the feel such that when a button is clicked, I can control the size of that window or even possibly open in an existing colorbox snippet.

Has an开发者_开发百科ybody had luck with this before? When I try to control via javascript function it just seems to get overwritten or ignored.


You'd need to unbind their events and handle them all yourself. It probably isn't a good idea, as your code will be at the mercy of their implementation.


I am not sure if your question is resolved, but you will need to add as following inside JS.

popup: 'true'

The same is on their Support Page

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号