Monday, 2024-05-20, 11:20 PM Welcome Guest

.

Site menu
Cauta Pe Site
[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Forum » Ajutor UCOZ » Scripturi » script taguri
script taguri
sergiuDate: Tuesday, 2009-12-15, 2:10 PM | Message # 1
Major general
Group: Administrators
Messages: 437
Reputation: 0
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>


:D www.fonline.ucoz.com :D
 
Forum » Ajutor UCOZ » Scripturi » script taguri
  • Page 1 of 1
  • 1
Search:

Statici !!!
Site Facut De Sergiu © 2024 Free web hostinguCoz