Giter Site home page Giter Site logo

Comments (4)

ozdemirburak avatar ozdemirburak commented on June 29, 2024

@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.

jonblack avatar jonblack commented on June 29, 2024

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.

ozdemirburak avatar ozdemirburak commented on June 29, 2024

Yeah, probably, will implement it on the weekend, as it needs more work on the css :)

from jquery-floating-social-share.

jonblack avatar jonblack commented on June 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.