',
+ {
+ 'class' : 'jRatingAverage',
+ css:{
+ width:0,
+ top:- starHeight
+ }
+ }).appendTo($(this)),
+
+ jstar =
+ $('
',
+ {
+ 'class' : 'jStar',
+ css:{
+ width:widthRatingContainer,
+ height:starHeight,
+ top:- (starHeight*2),
+ background: 'url('+bgPath+') repeat-x'
+ }
+ }).appendTo($(this));
+
+ $(this).css({width: widthRatingContainer,overflow:'hidden',zIndex:1,position:'relative'});
+
+ if(!jDisabled)
+ $(this).unbind().bind({
+ mouseenter : function(e){
+ var realOffsetLeft = findRealLeft(this);
+ var relativeX = e.pageX - realOffsetLeft;
+ if (opts.showRateInfo)
+ var tooltip =
+ $('
',{
+ 'class' : 'jRatingInfos',
+ html : getNote(relativeX)+' / '+opts.rateMax+'',
+ css : {
+ top: (e.pageY + opts.rateInfosY),
+ left: (e.pageX + opts.rateInfosX)
+ }
+ }).appendTo('body').show();
+ },
+ mouseover : function(e){
+ $(this).css('cursor','pointer');
+ },
+ mouseout : function(){
+ $(this).css('cursor','default');
+ if(hasRated) average.width(globalWidth);
+ else average.width(0);
+ },
+ mousemove : function(e){
+ var realOffsetLeft = findRealLeft(this);
+ var relativeX = e.pageX - realOffsetLeft;
+ if(opts.step) newWidth = Math.floor(relativeX/starWidth)*starWidth + starWidth;
+ else newWidth = relativeX;
+ average.width(newWidth);
+ if (opts.showRateInfo)
+ $("p.jRatingInfos")
+ .css({
+ left: (e.pageX + opts.rateInfosX)
+ })
+ .html(getNote(newWidth) +' / '+opts.rateMax+'');
+ },
+ mouseleave : function(){
+ $("p.jRatingInfos").remove();
+ },
+ click : function(e){
+ var flag = confirm("纭畾璇勫垎锛");
+ if(!flag)
+ {
+ e.cancel();
+ }
+
+
+ var element = this;
+
+ /*set vars*/
+ hasRated = true;
+ globalWidth = newWidth;
+ nbOfRates--;
+
+ if(!opts.canRateAgain || parseInt(nbOfRates) <= 0) $(this).unbind().css('cursor','default').addClass('jDisabled');
+
+ if (opts.showRateInfo) $("p.jRatingInfos").fadeOut('fast',function(){$(this).remove();});
+ e.preventDefault();
+ var rate = getNote(newWidth);
+ average.width(newWidth);
+
+
+ $.post(defaults.path,
+ {
+ idBox : idBox,
+ rate : rate,
+ kls : kls,
+ dimension : dimension
+ /** action : 'rating' **/
+ },
+ function(data) {
+ if(!data.error)
+ {
+ /** Here you can display an alert box,
+ or use the jNotify Plugin :) http://www.myqjqueryplugins.com/jNotify
+ exemple : */
+ if(opts.onSuccess) opts.onSuccess( element, rate );
+ }
+ else
+ {
+
+ /** Here you can display an alert box,
+ or use the jNotify Plugin :) http://www.myqjqueryplugins.com/jNotify
+ exemple : */
+ if(opts.onError) opts.onError( element, rate );
+ }
+ },
+ 'json'
+ );
+ }
+ });
+
+ function getNote(relativeX) {
+ var noteBrut = parseFloat((relativeX*100/widthRatingContainer)*opts.rateMax/100);
+ switch(opts.decimalLength) {
+ case 1 :
+ var note = Math.round(noteBrut*10)/10;
+ break;
+ case 2 :
+ var note = Math.round(noteBrut*100)/100;
+ break;
+ case 3 :
+ var note = Math.round(noteBrut*1000)/1000;
+ break;
+ default :
+ var note = Math.round(noteBrut*1)/1;
+ }
+ return note;
+ };
+
+ function getStarWidth(){
+ switch(opts.type) {
+ case 'small' :
+ starWidth = 12; // width of the picture small.png
+ starHeight = 10; // height of the picture small.png
+ bgPath = opts.smallStarsPath;
+ break;
+ default :
+ starWidth = 23; // width of the picture stars.png
+ starHeight = 20; // height of the picture stars.png
+ bgPath = opts.bigStarsPath;
+ }
+ };
+
+ function findRealLeft(obj) {
+ if( !obj ) return 0;
+ return obj.offsetLeft + findRealLeft( obj.offsetParent );
+ };
+ });
+
+ }
+})(jQuery);
diff --git a/public/cache/AC2/A80/60567173164aa1f75c0f9517835ebc2fd5eb0ec5 b/public/cache/AC2/A80/60567173164aa1f75c0f9517835ebc2fd5eb0ec5
new file mode 100644
index 0000000000000000000000000000000000000000..3b564199a5be58b7aa880c8fa6951bb2dabdafaf
GIT binary patch
literal 12051
zcmWk!1yqw=7#>I?At~J<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