Skrypt dodaje nam półautomatyczną legendę forum
Ogłoszenie:
<script> //Legenda by pro14ab jQuery(document).ready(function(){ jQuery('#onlinetodaylist').after('<b>Legenda:</b><span id="Legenda_pro14"></span>'); jQuery('#Legenda_pro14').load('/userlist.php select[name="show_group"] option'); }); </script>
CSS:
#Legenda_pro14 option {display:inline-block;} #Legenda_pro14 option[value="-1"]{display:none;}
Półautomatyczna dlatego, że trzeba samemu zmienić kolor itd.
#Legenda_pro14 option[value="Z"]{color:X;}
Z-ID rangi (Admin-1 Mod-2 Użytkownik-4 i kolejne 5,6,7 itd.. )
X- kolor
Offline