Au cours d’une réunion, quelqu'un prend ostensiblement une feuille de papier blanc sur laquelle figure, au centre, un point noir. Il la montre au public, disant :
- Que voyez-vous ?
Et chacun de répondre :
- Un point noir !
C’est bien cela, tout le monde voit un point noir et personne ne voit la feuille blanche !
new Starbox('ratig_elmt1', 4, { 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|4324',{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 ?