/* * Addthis 0.1 * (c)2009 Brent Wong * * Usage: * $.addthis(); * -or- * $.addthis('username'); * where username is your AddThis username. Useful for tracking statistics */ (function($){ $.addthis = function(code){ function init(){ try{ // determine whether to include the normal or SSL version var addthisurl = (location.href.indexOf('https') == 0 ? 'https://' : 'http://') + 's7.addthis.com/js/250/addthis_widget.js?pub=' + code; // include the script $.getScript(addthisurl, function(){ $('a.addthis') .attr('href', 'http://www.addthis.com/bookmark.php?v=250').mouseover( function(){ return addthis_open(this, "", "[URL]", "L'Entrepôt Arlon 07/04/2024 HOMMAGE � NIRVANA - 30 ANS DE LA MORT DE KURT COBAIN"); }).mouseout( function(){ addthis_close(); }).click( function(){ // return addthis_open(this, "", "[URL]", "L'Entrepôt Arlon 07/04/2024 HOMMAGE � NIRVANA - 30 ANS DE LA MORT DE KURT COBAIN"); return addthis_sendto(); }); }); } catch(err) { // log any failure console.log('Failed to load AddThis Script:' + err); } } init(); } })(jQuery);