Git Product home page Git Product logo

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

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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

After G+ counter update lagging

Hello, how id understand - G+ disable counts via js, so now loading for other socials are too slow, because it try to get counts of twitter + G+, how can i disable loading? Because when I try to delete functions: ibacor_google_stumbleupon and ibacor_twitter - facebook doesnt work too.

Console give me this errors:

GET https://count.donreach.com/?url=http%3A%2F%2Fwww.siteurl.com%2F&callback=jQuery214048917219578288496_1450902835466&_=1450902835467 503 (OK)send @ jquery-2.1.4.min.js:4n.extend.ajax @ jquery-2.1.4.min.js:4ibacor_google_stumbleupon @ ibacor_share.min.js:1(anonymous function) @ ibacor_share.min.js:1j @ jquery-2.1.4.min.js:2k.fireWith @ jquery-2.1.4.min.js:2n.extend.ready @ jquery-2.1.4.min.js:2I @ jquery-2.1.4.min.js:2
jquery-2.1.4.min.js:4

GET https://cdn.api.twitter.com/1/urls/count.json?url=http%3A%2F%2Fwww.siteurl.com%2F&callback=jQuery214048917219578288496_1450902835466&_=1450902835470 410 (Gone)

Spinner stays on twitter

Lovely script!

Just tested on a site, the spinner on the twitter button keeps spinning.
Any idea what it could be?

loading

How to pull images

It seems that the plugin is having trouble pulling the correct images, or perhaps I am doing something wrong. Sometimes the plugin pulls the images for Facebook off an entirely different page. Sometimes it doesn't pull any image. Sometimes it pulls the right image. Is there any way to control this? Please let me know, thanks!

Regular .js file?

I just found the minimised .js file.

Where to find the un-minimised or decompressed .js file.

I would like to set open target window in small pop-up window (and not new browser tab). How to do that easy and fast with your plugin?

Thanks.
And by the way, brilliant plugin!!!

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.