');
div.appendChild(banner);
banner.appendChild(iframe);
this.target.appendChild(div);
} else {
var div = this.cr('div');
div.style.margin = '9px 0';
var banner = this.cr('div');
banner.style.margin = '0 auto';
div.appendChild(banner);
banner.innerHTML = ad.data;
this.target.appendChild(div);
}
}
}
}
JSRTC.prototype.getTextForTotalVotes = function(votes) {
var text;
switch(parseInt(votes)) {
case 1: text = votes + ' ' + $JRTL('vote'); break;
default: text = votes + ' ' + $JRTL('votes'); break;
}
return text;
}
JSRTC.prototype.getTextForTotalScoreVotes = function(votes) {
return $JRTL('by') + ' ' + this.getTextForTotalVotes(votes);
}
JSRTC.prototype.prepHotItems = function(items) {
if (!items.length) return;
// Filter proper number of results
if (this.config.get('count') 0 ? '+'+items[i].val1 : items[i].val1);
items[i].votes = this.getTextForTotalScoreVotes(items[i].val2);
var upDown = items[i].rating
Monday, 11 November 2013
Han Thi
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment