[ Mesaje noi · Membrii · Regulamentului forumului · Cautare · RSS ]
  • Pagina 1 din 1
  • 1
Forum » Ajutor UCOZ » Scripturi » script taguri
script taguri
dj-kappaData: Miercuri, 09-Sep-2009, 10:19:42 | Mesaj # 1
Generalisim
Grup: V.I.P
Mesaje: 102
Premii: 5
Reputaţie: 5
Status: Offline

We go into the control panel - informers - a ticker (Choose a section to be a tag cloud), for example select the news - specify: materials - in random order, the amount of materials - (What you need [from 1 to 50]) - to create.

Then edit the template of the informer, remove everything from there and paste

Code

<a class="op" href="$ENTRY_URL$" id="theTitle$ID$" style="font-size:8px; title="$TITLE$">$TITLE$</a>   
<script type=text/javascript>   
var pl$ID$ = $READS$;   
if (pl$ID$ <= 0) {var sz$ID$ = 8}   
else if (pl$ID$ <= 2) {var sz$ID$ = 8}   
else if (pl$ID$ <= 7) {var sz$ID$ = 10}   
else if (pl$ID$ <= 10) {var sz$ID$ = 12}   
else if (pl$ID$ <= 20) {var sz$ID$ = 12}   
else if (pl$ID$ <= 30) {var sz$ID$ = 15}   
else if (pl$ID$ <= 45) {var sz$ID$ = 15}   
else if (pl$ID$ <= 90) {var sz$ID$ = 18}   
else if (pl$ID$ <= 150) {var sz$ID$ = 18}   
else if (pl$ID$ <= 250) {var sz$ID$ = 22}   
else if (pl$ID$ <= 400) {var sz$ID$ = 24}   
else if (pl$ID$ <= 600) {var sz$ID$ = 26}   
else {var sz$ID$ = 28}   

document.getElementById("theTitle$ID$").style.fontSize = ' ''+sz$ID$+'px'   
</script>



Oare chiar trag iarba? Nu,nu trag,fumez!De ce? Ia ghici!
 
Forum » Ajutor UCOZ » Scripturi » script taguri
  • Pagina 1 din 1
  • 1
Căutare: