Nous avons besoin de considérer les intérêts des autres : cela nous est salutaire, également. Le psychiatre Carl Menninger déclara ce qu'il ferait s'il se savait au bord d'une dépression nerveuse. Il le formula ainsi :
- Je sortirais de chez moi, je chercherais quelqu'un dans le besoin, et je l'aiderais.
new Starbox('ratig_elmt1', 4.5, { 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|2758',{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: 8 });
// 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 ?