Celui qui es bon a pitié et il prête,
il mène ses affaires en respectant les lois.
Psaume 112.5 (version Parole de Vie)
new Starbox('ratig_elmt1', 5, { overlay: 'pointy.png', className: 'pointy', onRate:function(element, info) {
var UpdateRating = new Ajax.Request('/modules/rating/?n='+info.rated+'&vars=top_humanitaire|texte_nbvote|texte_pointsvote|texte_id|530',{method: 'get'});
var indicator = element.down('.indicator');
indicator.update('Vous avez voté ' + info.rated + '/' + '5');
window.setTimeout(function() { indicator.update('Merci pour votre vote') }, 2000);
new Effect.Highlight(indicator);
}, indicator: '1 vote', total: 1 });
// attach the custom events on DOM loaded
document.observe('dom:loaded', function() {
$w('1').each(function(demo) {
$('ratig_elmt' + demo).observe('starbox:changed', starboxChangedText) // observe the mouseover
.observe('starbox:rated', starboxRatedText) // observe the click
.observe('starbox:left', starboxLeftText); // observe the mouseout
});
});
Poster un commentaire
Top Chrétien vous propose de vous identifier avec votre compte Facebook pour, par exemple, poster un commentaire.
Un simple clic sur le bouton Connect et le tour est joué...
En savoir plus ?