Top 5 noticias ajuda?

2 participantes

Ver o tópico anterior Ver o tópico seguinte Ir para baixo

Tópico resolvido Top 5 noticias ajuda?

Mensagem por horoximaru 01.12.12 14:41

Qual é minha questão:
Olá gente queria saber como eu faço pra coloca um Top 5 igual a da forumeiros aqui 
<<<< 

mas cendo noticias 

Fico no aguardo


Endereço do meu fórum:
Não é necessário.

Versão do fórum:
PHPBB3


Última edição por horoximaru em 02.12.12 20:53, editado 1 vez(es)
horoximaru

horoximaru
***

Membro desde : 20/11/2008
Mensagens : 108
Pontos : 211

http://www.plataformaigames.forumeiro.com/forum

Ir para o topo Ir para baixo

Membro Entusiasta

Tópico resolvido Re: Top 5 noticias ajuda?

Mensagem por BrunoH. 01.12.12 14:48

Olá!
Crie um Widget com este código:
Código:
<style>.picshow{z-index:444;position:relative;background-color:#ffffff;width:100%;height:135px}.picshow_main{position:relative;width:180px;height:135px}.picshow_main .imgbig{filter:progid:dximagetransform.microsoft.wipe(gradientsize=1.0,wipestyle=4,motion=forward);width:180px;height:135px}.picshow_change{position:absolute;text-align:left;bottom:0px;height:30px;right:5px;left:60px}.picshow_change img{width:15px;height:15px}.picshow_change a{border:1px solid;display:block;float:left;margin-right:5px;-display:inline}a.axx{border-color:#555}a.axx:hover{border-color:#000}a.axx img{filter:alpha(opacity=40);opacity:0.4;-moz-opacity:0.4}a.axx:hover img{filter:alpha(opacity=100);opacity:1.0;-moz-opacity:1.0}a.bxx{border-color:#000}a.bxx:hover{border-color:#000}img{border:0px}</style>
<script>var counts = 5;
 img1 = new Image();
 img1.src = 'http://i.imgur.com/kGVNP.png';
 img2 = new Image();
 img2.src = 'http://i.imgur.com/Dn6Ci.png';
 img3 = new Image();
 img3.src = 'http://i.imgur.com/k4gqP.png';
 img4 = new Image();
 img4.src = 'http://i.imgur.com/2GUgY.png';
 img5 = new Image();
 img5.src = 'http://i.imgur.com/tmMV3.png';
 var smallImg = new Array();
 smallImg[0] = 'http://2img.net/i/fa/optimisation_fdf/common/bouton1.gif';
 smallImg[1] = 'http://2img.net/i/fa/optimisation_fdf/common/bouton2.gif';
 smallImg[2] = 'http://2img.net/i/fa/optimisation_fdf/common/bouton3.gif';
 smallImg[3] = 'http://i.imgur.com/j9q7B.png';
 smallImg[4] = 'http://i.imgur.com/mzFKQ.png';

 url1 = 'http://spdesign.ativoforum.com/';
 url2 = 'http://narutoreborn.ativoforum.com/';
 url3 = 'http://br-designerforever.forumeiros.com/';
 url4 = 'http://www.monsterhunterbrasil.com';
 url5 = 'http://narutorpgstorm.ultimaterpg.net/';
 alt1 = new Image();
 alt1.alt = 'SP-Design';
 alt2 = new Image();
 alt2.alt = 'Naruto Reborn';
 alt3 = new Image();
 alt3.alt = 'Brasil Designer Forever';
 alt4 = new Image();
 alt4.alt = 'Brasil Designer Forever';
 alt5 = new Image();
 alt5.alt = 'Brasil Designer Forever';
 var nn = 1;
 var key = 0;
 function change_img() {
 if (key == 0) {
 key = 1;
 } else if (document.all) {
 document.getElementById("pic").filters[0].Apply();
 document.getElementById("pic").filters[0].Play(duration = 2);
 }
 eval('document.getElementById("pic").src=img' + nn + '.src');
 eval('document.getElementById("url_theme").href=url' + nn);
 eval('document.getElementById("pic").alt=alt' + nn + '.alt');
 if (nn == 1) {
 document.getElementById("url_theme").target = "_blank";
 document.getElementById("url_theme").style.cursor = "pointer";
 } else {
 document.getElementById("url_theme").target = "_blank"
 document.getElementById("url_theme").style.cursor = "pointer"
 }
 for ( var i = 1; i <= counts; i++) {
 document.getElementById("xxjdjj" + i).className = 'axx';
 }
 document.getElementById("xxjdjj" + nn).className = 'bxx';
 nn++;
 if (nn > counts) {
 nn = 1;
 }
 tt = setTimeout('change_img()', 4000);
 }
 function changeimg(n) {
 nn = n;
 window.clearInterval(tt);
 change_img();
 }
 function ImageShow() {
 document.write('<div class="picshow_main">');
 document.write('<div><a id="url_theme"><img id="pic" class="imgbig" /></a></div>');
 document.write('<div class="picshow_change">');
 for ( var i = 0; i < counts; i++) {
 document.write('<a href="javascript:changeimg(' + (i + 1)
 + ');" id="xxjdjj' + (i + 1)
 + '" class="axx" target="_self"><img src="' + smallImg[i]
 + '"></a>');
 }
 document.write('</div></div>');
 change_img();
 }</script><script>ImageShow()</script> <span class="corners-bottom"><span></span></span></div></div></counts>
Flecha ajudeiros [FAQ] Gerenciar os Widgets do Fórum

Até mais! Piscada

Tópico movido de 'Questões sobre a aparência do fórum' para 'Questões sobre códigos'
BrunoH.

BrunoH.
Membro Entusiasta
Membro Entusiasta

Membro desde : 15/06/2012
Mensagens : 7675
Pontos : 10385

http://premiumdesign3d.blogspot.com.br/ https://www.facebook.com/brunohenrique.com.br

Ir para o topo Ir para baixo

Ver o tópico anterior Ver o tópico seguinte Ir para o topo

- Tópicos semelhantes

Permissões neste sub-fórum
Não podes responder a tópicos