Comments (4)
@jonblack thanks for the feedback, added this new feature, you can use it like below.
<body>
<div class="content">
Bla bla bla
</div>
</body>
<script>
$(".content").floatingSocialShare({
buttons: ["facebook", "twitter", "google-plus"],
text: "share with: ",
place: "content-left"
});
</script>
If you face with any further issues, don't hesitate to comment it out :)
from jquery-floating-social-share.
Nice job. I'll give this a go in the weekend. For completeness, it might be worth adding a content-right
as well 😄
from jquery-floating-social-share.
Yeah, probably, will implement it on the weekend, as it needs more work on the css :)
from jquery-floating-social-share.
I've tested your change and it works great. I have to override top: 25%
with the following:
.content-left {
@media (min-width: 961px) {
top: 131px !important;
}
}
So on large devices it aligned with the top of the div and on mobile it has no effect.
Thanks!
from jquery-floating-social-share.
Related Issues (18)
- Not working HOT 4
- Hover over top-right button HOT 2
- Remove Font Awesome Dependency HOT 1
- Fixes CSS HOT 6
- JavaScript (Maybe!?) HOT 1
- Fontawsome HOT 2
- TypeError: v is undefined HOT 5
- Pinterest sharing isn't working anymore HOT 1
- rel='noopener' HOT 1
- Controlling pinterest share content HOT 2
- Share with Viber? HOT 1
- Remove jQuery dependency and rewrite the package
- Refactor code without jQuery HOT 2
- css box-sizing rule HOT 1
- Facebook and Google share not working HOT 6
- Console - Failed to load resource: net::ERR_NAME_NOT_RESOLVED HOT 12
- Can't get it to work on my site, cannot read property data of undefined HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-floating-social-share.