tolgaergin / social Goto Github PK
View Code? Open in Web Editor NEWjQuery plugin for listing profiles and sharing
jQuery plugin for listing profiles and sharing
The options for social share aren't documented, but can be changed: https://github.com/tolgaergin/social/blob/master/assets/javascripts/socialShare.js#L26
It would be nice if I didn't have to read the source to change them!
First off, thank you for this great jQuery solution for social Sharing links!
I have everything working but cannot find anything on how to direct the javascript (I am a javascript neophyte!) to load a particular image form the page (There are many images on the page but only one that pertains to the "share" link).
Can you provide information on how to load specific images for the different social links that use images (Google+,InstaGram, Facebook to name a few)?
The image will always be the same for all of these links...
Also, I'm not sure how to add other links (Google+ is one). As an example, this link from the js page for yahoo:
http://bookmarks.yahoo.com/toolbar/savebm?opener=tb&u={u}&t={t}
I'm not sure what is needed after the "?" . could you enlighten me on how to format the links for the other social networks?
Again, thank you for offering this to the rest of us!
This is a good plugin, but i need expand the functions.
I have some elements in the page and i want to use the socialShare for everyone for the elements.
For example, i assign the attributes to the element to get this on the options:
Click
Click
$('button').socialShare({
social: 'blogger,facebook,google,linkedin,pinterest,twitter',
title: $(this).attr('data-title')
});
So, this code not work when a get the title.
I need resolve this.
Regards
There's no listing social profiles at http://tolgaergin.com/files/social/social-profiles.html
hi,
is there a way to make this work with retina support? retina.js would load a different spritesheet or maybe usage of svg is more 2017 ?
Hello,
Thanks for the great script. I have an issue though, this script is not working with pages of a Right-to-Left direction. I need to test it on an Arabic site but it didn't work. Please help.
hi,
is there a way to add whatsapp to the options on mobile devices?
Hello,
Execelent job at this script!
There are an incompatibility with boostrap since the use of icon-container class, and twitter uses icon-*
Negatives effects: Social overlay is not centered and list is vertical instead of horizontal.
I have updated my social script to use socialicon-container instead of icon-container.
Thanks!
I think your plugin is one of best in social sharing. Could you offer popup in sharing js instead of a new tab/window?
On other thing is PINTEREST requires media and I could not see it in the options.
please, add you project to cdnjs.com
Linked In follow me link is broken.
sharing example doesn't work @ http://tolgaergin.com/files/social/social-share.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.