change points system to level bar Sex 10 Jul 2015 - 12:56
- Descrição:
how am i going to make this code work
- Código:
<Script type = "text / javascript"> // <! [CDATA [
var multiquote_img_off = '{} JS_MULTIQUOTE_IMG_OFF' multiquote_img_on = '{} JS_MULTIQUOTE_IMG_ON' _atr = '{} JS_DIR addthis /' _ati = '{} PATH_IMG_FA addthis / '{} ADDTHIS_LANG, addthis_localize = {share_caption: "{} L_SHARE_CAPTION" email: "{} L_EMAIL" email_caption: "{} L_EMAIL_CAPTION" favorites "L_SHARE_BOOKMARKS {}" print "{} L_PRINT" more "L_MORE {}"};
$ (function () {
; _atc.cwait = 0
'. addthis_button'. $ () mouseup (function () {
if ($ ('# at15s') css ('display'. ) == 'block') {
addthis_close ();
}
});
});
var hiddenMsgLabel = {visible: '{} JS_HIDE_HIDDEN_MESSAGE' hidden '{JS_SHOW_HIDDEN_MESSAGE}'};
showHiddenMessage = function (id)
{
try
{
var regid = parseInt (id, 10);
if (isNaN (regid)) {regid = 0; }
if (regid> 0)
{
$ (id + 'post--.') .toggle (0, function ()
{
if ($ (this) .is (": visible"))
{
$ ('# hidden- title-- '+ id) .html (hiddenMsgLabel.visible);
}
else
{
$ ('# hidden-title--' + id) .html (hiddenMsgLabel.hidden);
}
});
}
}
catch (e) { }
return false;
}; function level (la, lb, lc, ld) {var y = ((ld * 1 * 1 + lb) / 100); var e = (ld * 1 * 1 + lb); var g Math.floor = (y + parseInt (1)); if (g> 4) {(y = "1")}; var d = ((1 + ld * 1 lb *) - ((1-g) * 100)); var o = (g * 100); document.write ('<div style = "background: rgb (165,162,165); width: 120px; height: 13px; margin-left: -3px;"> <div style = "height: 12px; float: left; background: rgb (24,117,189); width: '+ d +'%; padding: 1px 2px 0px 2px"> <img src = "http://i28.servimg.com/u/ f28 / 14/28/30/23 / spacer10.gif "> </ div> </ div> <div style =" position: absolute; width: 117px; height: 13px; margin-top: -12px; color: # FFF; font: 9px Tahoma; padding-left: 3px "title =" '+ d +'% "> Lv: '+ g +' <div style =" display: inline-block; width: 80px; text-align: center; float: right "> '+ e +' / '+ a +' </ div> </ div> ')} //]]> </ script>
[Tens de ter uma conta e sessão iniciada para poderes visualizar esta imagem]
- Informações:
Fórum: | jepftest.forumtl.com | Versão: | PUNBB |
Tipo: | Pedido de código | Tags: | change,points,system,level |