bendecho Buttons

Embed bendecho buttons into your Web site and show others your rocking content. You may choose between dynamic and static buttons.

Dynamic Buttons

Dynamic buttons display the number of votes and link either to adding or rating the stuff, depending on whether the content (URL) already exists at bendecho. Three different sizes and shapes are available:
Large
(60x85 px)
Medium
(40x65 px)
Small
(70x16 px)
The implementation of a button requires the JavaScript file https://tools.bendecho.com/buttons.js this code can be placed in either the <head> or the <body>.
<script type="text/javascript">
(function() {
var he = document.createElement('script'), hea = document.getElementsByTagName('script')[0];
he.type = 'text/javascript';
he.src = 'https://tools.bendecho.com/buttons.js';
hea.parentNode.insertBefore(he, hea);
})();
</script>
Implementation the file in this manner will cause the JavaScript to load asynchronously and not block other elements on the page. The earlier it appears in the document the sooner the download can begin and your buttons can be filled.
Button Large (60x85 px)
To add a large button insert the following <a> tag into your page in the location you would like the button to appear:
<a name="bendecho-button" class="bendecho-button-l"></a>
Button Medium (40x65 px)
To add a medium button insert the following <a> tag into your page in the location you would like the button to appear:
<a name="bendecho-button" class="bendecho-button-m"></a>
Button Small (70x16 px)
To add a small button insert the following <a> tag into your page in the location you would like the button to appear:
<a name="bendecho-button" class="bendecho-button-s"></a>
Multiple Buttons
You may embed as many buttons as you want into the same page; however, the JavaScript file should only be embedded once. The script automatically recognizes all buttons on one page and fills them accordingly.
Setup an ohter URL
To specify a URL other than that of the current page you can add a href to the <a> tag.
<a href="https://www.youtube.com/watch?v=0Bmhjf0rKe8" name="bendecho-button" class="bendecho-button-s"></a>
This example creates the button for the URL https://www.youtube.com/watch?v=0Bmhjf0rKe8

Dynamic Buttons

If you want to use your own button or text link, you may use the following link format. If the URL already exists, you will be redirected to the content.
https://www.bendecho.com/submit/?url={Deine URL}