MaxRom | Scripturi uCoz Romania

Bannerul tau aici
[ Mesaje noi · Membrii · Regulamentul forumului · RSS ]
  • Pagina 1 din 1
  • 1
Aspectul Postului
Devil Date: Joi, 2011-06-30, 19:00 | Message # 1
Mesaje: 425
Awards: 15
« 29 »

Instalare :

CP ---> Design ---> Design management (templates) ---> Forum ---> General appeareance of forum --> dupa $BODY$ adaugati :

Code
<script type="text/javascript">
     $('.gTable tr').each(function() {
     <?if($PAGE_ID$='main' || $PAGE_ID$='category')?>$('.forum:first',this).append('<div class="uHover">' + $('.forumThreadTd',this).text() + declOfNum($('.forumThreadTd',this).text(), [' Topic', ' Topics', ' Topics'])+ ' | ' +$('.forumPostTd',this).text()+declOfNum($('.forumPostTd',this).text(), [' Post ', ' Posts ', ' Posts '])+'</div>');
     $('.forumNameTd',this).hover(function(){$(this).find('.uHover:not(:animated)').fadeIn()},function(){$(this).find('.uHover').fadeOut()}) ; <?endif?>
     <?if($PAGE_ID$='forum')?>$('.threadPinnedLink:first',this).append('<div class="uHover">' + $('.threadPostTd',this).text() + declOfNum($('.threadPostTd',this).text(), [' Post', ' Posts', ' Posts'])+ ' | ' +$('.threadViewTd',this).text()+declOfNum($('.threadViewTd',this).text(), [' View ', ' Views', ' views '])+ ' | author: ' +$('.threadAuthTd span a',this).text())+'</div>';
     $('.threadNametd',this).hover(function(){$(this).find('.uHover:not(:animated)').fadeIn()},function(){$(this).find('.uHover').fadeOut()} ) ;<?endif?>
     <?if($PAGE_ID$='forum')?>$('.threadLink:first',this).append('<div class="uHover">' + $('.threadPostTd',this).text() + declOfNum($('.threadPostTd',this).text(), [' Post', ' Posts', ' Posts'])+ ' | ' +$('.threadViewTd',this).text()+declOfNum($('.threadViewTd',this).text(), [' View ', ' Views', ' views '])+ ' | author: ' +$('.threadAuthTd span a',this).text())+'</div>';
     $('.threadNametd',this).hover(function(){$(this).find('.uHover:not(:animated)').fadeIn()},function(){$(this).find('.uHover').fadeOut()} ) ;<?endif?>
     <?if($PAGE_ID$='search')?>$('.threadPinnedLink:first',this).append('<div class="uHover">' + $('.threadPostTd',this).text() + declOfNum($('.threadPostTd',this).text(), [' Post', ' Posts', ' Posts'])+ ' | ' +$('.threadViewTd',this).text()+declOfNum($('.threadViewTd',this).text(), [' View ', ' Views', ' views '])+ ' | author: ' +$('.threadAuthTd span a',this).text())+'</div>';
     $('.threadNametd',this).hover(function(){$(this).find('.uHover:not(:animated)').fadeIn()},function(){$(this).find('.uHover').fadeOut()} ) ;<?endif?>
     <?if($PAGE_ID$='search')?>$('.threadLink:first',this).append('<div class="uHover">' + $('.threadPostTd',this).text() + declOfNum($('.threadPostTd',this).text(), [' Post', ' Posts', ' Posts'])+ ' | ' +$('.threadViewTd',this).text()+declOfNum($('.threadViewTd',this).text(), [' View ', ' Views', ' views '])+ ' | author: ' +$('.threadAuthTd span a',this).text())+'</div>';
     $('.threadNametd',this).hover(function(){$(this).find('.uHover:not(:animated)').fadeIn()},function(){$(this).find('.uHover').fadeOut()} ) ;<?endif?>
     <?if($PAGE_ID$='recentthreads')?>$('.threadPinnedLink:first',this).append('<div class="uHover">' + $('.threadPostTd',this).text() + declOfNum($('.threadPostTd',this).text(), [' Post', ' Posts', ' Posts'])+ ' | ' +$('.threadViewTd',this).text()+declOfNum($('.threadViewTd',this).text(), [' View ', ' Views', ' views '])+ ' | author: ' +$('.threadAuthTd span a',this).text())+'</div>';
     $('.threadNametd',this).hover(function(){$(this).find('.uHover:not(:animated)').fadeIn()},function(){$(this).find('.uHover').fadeOut()} ) ;<?endif?>
     <?if($PAGE_ID$='recentthreads')?>$('.threadLink:first',this).append('<div class="uHover">' + $('.threadPostTd',this).text() + declOfNum($('.threadPostTd',this).text(), [' Post', ' Posts', ' Posts'])+ ' | ' +$('.threadViewTd',this).text()+declOfNum($('.threadViewTd',this).text(), [' View ', ' Views', ' views '])+ ' | author: ' +$('.threadAuthTd span a',this).text())+'</div>';
     $('.threadNametd',this).hover(function(){$(this).find('.uHover:not(:animated)').fadeIn()},function(){$(this).find('.uHover').fadeOut()} ) ;<?endif?>
     });
     function declOfNum(number, titles) {
     cases = [2, 0, 1, 1, 1, 2];
     return titles[ (number%100>4 && number%100<20)? 2 : cases[(number%10<5)?number%10:5] ];
     }
     </script>
     <?if($PAGE_ID$='recentthreads')?><style type="text/css">
     .uHover {float:right;display:none;margin-right:5px;}
     .gTableSubTop:nth-child(3), .gTableSubTop:nth-child(4),.gTableSubTop:nth-child(5), .forumThreadTd, .forumPostTd, .threadViewTd, .threadPostTd, .threadAuthTd<?if($PAGE_ID$='forum')?>, .gTableSubTop:nth-child(5)<?endif?> {display:none}
     a.threadPinnedLink:link {text-decoration:none; color:#0000FF;} a.threadPinnedLink:visited {text-decoration:none; color:#0000FF;} a.threadPinnedLink:hover {text-decoration:none; color:#FF0000;} a.threadPinnedLink:active {text-decoration:underline; color:#FF0000;} </style><?else?><?if($PAGE_ID$='search')?>
     <style type="text/css">
     .uHover {float:right;display:none;margin-right:5px;}
     .gTableSubTop:nth-child(3), .gTableSubTop:nth-child(4),.gTableSubTop:nth-child(5), .forumThreadTd, .forumPostTd, .threadViewTd, .threadPostTd, .threadAuthTd<?if($PAGE_ID$='forum')?>, .gTableSubTop:nth-child(5)<?endif?> {display:none}
     a.threadPinnedLink:link {text-decoration:none; color:#0000FF;} a.threadPinnedLink:visited {text-decoration:none; color:#0000FF;} a.threadPinnedLink:hover {text-decoration:none; color:#FF0000;} a.threadPinnedLink:active {text-decoration:underline; color:#FF0000;} </style><?else?><style type="text/css">
     .uHover {float:right;display:none;margin-right:5px;}
     .gTableSubTop:nth-child(3), .gTableSubTop:nth-child(4), .forumThreadTd, .forumPostTd, .threadViewTd, .threadPostTd, .threadAuthTd<?if($PAGE_ID$='forum')?>, .gTableSubTop:nth-child(5)<?endif?> {display:none}
     a.threadPinnedLink:link {text-decoration:none; color:#0000FF;} a.threadPinnedLink:visited {text-decoration:none; color:#0000FF;} a.threadPinnedLink:hover {text-decoration:none; color:#FF0000;} a.threadPinnedLink:active {text-decoration:underline; color:#FF0000;} </style><?endif?>
          
          
     <style type="text/css">
  // Copyright Bug Fixes and Translated by  uCause ~ http://uCause.ucoz.com/ ; //
     .uHover {float:right;display:none;margin-right:5px;}
     .gTableSubTop:nth-child(3), .gTableSubTop:nth-child(4), .forumThreadTd, .forumPostTd, .threadViewTd, .threadPostTd, .threadAuthTd<?if($PAGE_ID$='forum')?>, .gTableSubTop:nth-child(5)<?endif?> {display:none}
     a.threadPinnedLink:link {text-decoration:none; color:#0000FF;} a.threadPinnedLink:visited {text-decoration:none; color:#0000FF;} a.threadPinnedLink:hover {text-decoration:none; color:#FF0000;} a.threadPinnedLink:active {text-decoration:underline; color:#FF0000;} </style><?endif?>


Sursa: Link

Rezultat :



 
  • Pagina 1 din 1
  • 1
Căutare: