Dans une revue, on posait la question suivante :
"S’il ne vous restait que 24 heures à vivre, comment les utiliseriez-vous ?"
Il y a chaque jour sur la terre environ 150 000 êtres humains à qui il ne reste pas plus de 24 heures à vivre. Personne ne peut dire qu’il n’en fait pas partie.
new Starbox('ratig_elmt1', 3, { overlay: 'pointy.png', className: 'pointy', onRate:function(element, info) {
var UpdateRating = new Ajax.Request('/modules/rating/?n='+info.rated+'&vars=topmessages|message_nbvote|message_pointsvote|message_id|4159',{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: '#{total} votes (note : #{average}/5)', total: 9 });
// 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 ?