#HTTP_HEADER{Content-Type: text/javascript} [(#SET{popup,'onclick="if (this.href.lastIndexOf("javascript:") != 0 ) { window.open(this.href, "_blank", "screenX=50,left=50,screenY=50,top=50, width=550, height=450,toolbar=no, location=no,resizable=yes, scrollbars=yes");return false; }"'})] // socialtags.js // 'ajouter un bookmark' ne marche que sous IE // les tuyaux trouves pour FF // window.sidebar.addPanel(t,u,''); // cf https://bugzilla.mozilla.org/show_bug.cgi?id=214530 // ou Opera sont creves ;var socialtags_addfavorite = function(u,t){ if(document.all)window.external.AddFavorite(u,t); }; (function($) { var socialtags_init = function() { var selector = $('[(#CONFIG{socialtags/jsselector}|sinon{#contenu})]'); if (!selector.length) return; var socialtags = [(#CONFIG{socialtags/tags}|socialtags_json)]; var title = $('title').text() ||''; var description = ($('meta[name=description]').attr('content') || '').substr(0,250); var cano = $('link[rel=canonical]')[0]; var url = cano ? cano.href : document.location.href.split("%23")[0].split("#")[0]; var ul = $('