Coder Social home page Coder Social logo

eyobdejene / jquery-awesome-sosmed-share-button Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bachors/jquery-awesome-sosmed-share-button

0.0 2.0 0.0 4.35 MB

Awesome Social Media Share Button With Share Count

Home Page: http://bachors.github.io/jQuery-Awesome-Sosmed-Share-Button/

License: MIT License

CSS 18.11% HTML 10.38% JavaScript 71.52%

jquery-awesome-sosmed-share-button's Introduction

AyoShare.js

Awesome Social Media Share Button With Share Count

Plug and play :)

Options:

  • Counter: boolean
  • Button: boolean
    • Website. Appears in all devices
      • google
      • stumbleupon
      • facebook
      • linkedin
      • pinterest
      • bufferapp
      • reddit
      • vk
      • pocket
      • twitter
      • flipboard
      • digg
      • email
    • Mobile. Appears when opened using mobile
      • whatsapp
      • telegram
      • viber
      • line
      • bbm
      • sms

Usage:

CSS
<!-- Include Font Awesome v4.7.0 -->
<link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">

<!-- Custom Style --> <link href="src/css/ayoshare.css" rel="stylesheet">

JS

<!-- Include jQuery -->
<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>

<!-- jQuery Awesome Sosmed Share Button -->
<script src="src/js/ayoshare.js"></script>

Example:

<!-- By Class Name -->
<div class="anu" data-ayoshare="http://your-site.com/bla"></div>
<div class="anu" data-ayoshare="http://your-site.com/foo/bar"></div>

<!-- By ID --> <div id="unik" data-ayoshare="http://your-site.com/test.html"&gt;&lt;/div>

<script> $(function() {

    $(".anu").ayoshare({
        counter: true,
        button: {
            google : true,
            facebook : true,
            pinterest : true,
            linkedin : true,
            twitter : true,
            flipboard : true,
            email : true,
            whatsapp : true,
            telegram : true,
            line : true,
            bbm : true,
            viber : true,
            sms : true
        }
    });
    
    $("#unik").ayoshare({
        button: {
            google : true,
            stumbleupon : true,
            facebook : true,
            pinterest : true,
            bufferapp : true,
            reddit : true,
            vk : true,
            pocket : true,
            twitter : true,
            digg : true,
            telegram : true,
            sms : true
        }
    });
    
});

</script>

jquery-awesome-sosmed-share-button's People

Contributors

bachors avatar denipramulia avatar riochr17 avatar thingdiputra avatar

Watchers

 avatar  avatar

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.