Widget do top 5

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

Resolvido Widget do top 5

Mensagem por baby toryama em 07/03/13, 09:05 pm

Qual é minha questão:
Bem,eu nao sei se estou postando no lugar serto,se eu na otiver desculpeme pos nao sei muito ainda sobre o forumeiros,bem eu queria saber como fazer esse negocio do top 5 pos achei muito legal,postei aqui nos godiros pos acho que e codigo

Endereço do meu fórum:
http://supersonicgamemaker.forumeiros.eu/

Versão do fórum:
nao sei
avatar

baby toryama
Nível 10

Masculino
Inscrito dia : 15/02/2012
Mensagens : 290
Pontos Ativos : 472

Ver perfil do usuário http://supersonicgamemaker.forumeiros.eu/forum

Resolvido Re: Widget do top 5

Mensagem por Kojitani em 07/03/13, 09:07 pm

é igual parceiro de banner - só que eles nomearam como top 5 - módulo de propaganda
avatar

Kojitani
Nível 9

Masculino
Inscrito dia : 02/02/2013
Mensagens : 173
Pontos Ativos : 257

Ver perfil do usuário http://sobrevivencialistabr.forumeiros.com

Resolvido Re: Widget do top 5

Mensagem por Ted em 07/03/13, 09:12 pm

Olá,
Aceda em seu CSS
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://illiweb.com/fa/optimisation_fdf/common/bouton1.gif';
 smallImg[1] = 'http://illiweb.com/fa/optimisation_fdf/common/bouton2.gif';
 smallImg[2] = 'http://illiweb.com/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><div class="picshow_main"><div><a id="url_theme" href="http://br-designerforever.forumeiros.com/" target="_blank" style="cursor: pointer; "><img id="pic" class="imgbig" src="http://i.imgur.com/k4gqP.png" alt="Brasil Designer Forever" title="Naruto Reborn"></a></div><div class="picshow_change"><a href="javascript:changeimg(1);" id="xxjdjj1" class="axx" target="_self"><img src="http://illiweb.com/fa/optimisation_fdf/common/bouton1.gif"></a><a href="javascript:changeimg(2);" id="xxjdjj2" class="axx" target="_self"><img src="http://illiweb.com/fa/optimisation_fdf/common/bouton2.gif"></a><a href="javascript:changeimg(3);" id="xxjdjj3" class="bxx" target="_self"><img src="http://illiweb.com/fa/optimisation_fdf/common/bouton3.gif"></a><a href="javascript:changeimg(4);" id="xxjdjj4" class="axx" target="_self"><img src="http://i.imgur.com/j9q7B.png"></a><a href="javascript:changeimg(5);" id="xxjdjj5" class="axx" target="_self"><img src="http://i.imgur.com/mzFKQ.png"></a></div></div>
avatar

Ted
Nível 8

Masculino
Inscrito dia : 06/03/2013
Mensagens : 126
Pontos Ativos : 145

Ver perfil do usuário http://universal.forum-pro.net/

Resolvido Re: Widget do top 5

Mensagem por [F]lames em 08/03/13, 10:02 am

Olá,

O efeito, se dá por um slide colocado em um widget, o código foi passado pelo senhor Ted acima, mas, não será necessário adicionar nada ao css, apenas o código em um widget.

Até mais.
avatar

[F]lames
Usuário destaque

Masculino
Inscrito dia : 05/10/2012
Mensagens : 866
Pontos Ativos : 1207

Ver perfil do usuário http://www.bestskins.net/

Resolvido Re: Widget do top 5

Mensagem por brunoalves711expert em 08/03/13, 11:26 am

Aqui :
Código:
<div class="inner"><span class="corners-top"><span></span></span><div class="h3">TOP 5</div><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/quPc64f.png';
 img3 = new Image();
 img3.src = 'http://i.imgur.com/XvUu7.png';
 img4 = new Image();
 img4.src = 'http://i.imgur.com/Dn6Ci.png';
 img5 = new Image();
 img5.src = 'http://i.imgur.com/q4H45.png';
 var smallImg = new Array();
 smallImg[0] = 'http://illiweb.com/fa/optimisation_fdf/common/bouton1.gif';
 smallImg[1] = 'http://illiweb.com/fa/optimisation_fdf/common/bouton2.gif';
 smallImg[2] = 'http://illiweb.com/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://www.pokeshiny.com/';
 url3 = 'http://www.suportedesign.net/';
 url4 = 'http://narutoreborn.ativoforum.com/ ';
 url5 = 'http://www.power-pixel.net/';
 alt1 = new Image();
 alt1.alt = 'Clique e confira!';
 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><div class="picshow_main"><div><a id="url_theme" href="http://www.power-pixel.net/" target="_blank" style="cursor: pointer;"><img id="pic" class="imgbig" src="http://i.imgur.com/q4H45.png" alt="Brasil Designer Forever" title="Clique e confira!"></a></div><div class="picshow_change"><a href="javascript:changeimg(1);" id="xxjdjj1" class="axx" target="_self"><img src="http://illiweb.com/fa/optimisation_fdf/common/bouton1.gif"></a><a href="javascript:changeimg(2);" id="xxjdjj2" class="axx" target="_self"><img src="http://illiweb.com/fa/optimisation_fdf/common/bouton2.gif"></a><a href="javascript:changeimg(3);" id="xxjdjj3" class="axx" target="_self"><img src="http://illiweb.com/fa/optimisation_fdf/common/bouton3.gif"></a><a href="javascript:changeimg(4);" id="xxjdjj4" class="axx" target="_self"><img src="http://i.imgur.com/j9q7B.png"></a><a href="javascript:changeimg(5);" id="xxjdjj5" class="bxx" target="_self"><img src="http://i.imgur.com/mzFKQ.png"></a></div></div> <span class="corners-bottom"><span></span></span></div>
avatar

brunoalves711expert
Nível 5

Masculino
Inscrito dia : 23/01/2013
Mensagens : 35
Pontos Ativos : 59

Ver perfil do usuário http://expert-games.forumbrasil.net

Resolvido Re: Widget do top 5

Mensagem por baby toryama em 08/03/13, 12:35 pm

Vou testar quando eu ir no pc pos agora estou no celular,lol o codigo lembra muito o game maker
avatar

baby toryama
Nível 10

Masculino
Inscrito dia : 15/02/2012
Mensagens : 290
Pontos Ativos : 472

Ver perfil do usuário http://supersonicgamemaker.forumeiros.eu/forum

Resolvido Re: Widget do top 5

Mensagem por HermeS. em 08/03/13, 01:01 pm

Olá,

Aceda à "Gestão dos Widgets":
Painel de Controle Seta Módulos Seta Gestão dos widgets do fórum Seta Criar um Widget personalizado.
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://illiweb.com/fa/optimisation_fdf/common/bouton1.gif';
 smallImg[1] = 'http://illiweb.com/fa/optimisation_fdf/common/bouton2.gif';
 smallImg[2] = 'http://illiweb.com/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><div class="picshow_main"><div><a id="url_theme" href="http://br-designerforever.forumeiros.com/" target="_blank" style="cursor: pointer; "><img id="pic" class="imgbig" src="http://i.imgur.com/k4gqP.png" alt="Brasil Designer Forever" title="Naruto Reborn"></a></div><div class="picshow_change"><a href="javascript:changeimg(1);" id="xxjdjj1" class="axx" target="_self"><img src="http://illiweb.com/fa/optimisation_fdf/common/bouton1.gif"></a><a href="javascript:changeimg(2);" id="xxjdjj2" class="axx" target="_self"><img src="http://illiweb.com/fa/optimisation_fdf/common/bouton2.gif"></a><a href="javascript:changeimg(3);" id="xxjdjj3" class="bxx" target="_self"><img src="http://illiweb.com/fa/optimisation_fdf/common/bouton3.gif"></a><a href="javascript:changeimg(4);" id="xxjdjj4" class="axx" target="_self"><img src="http://i.imgur.com/j9q7B.png"></a><a href="javascript:changeimg(5);" id="xxjdjj5" class="axx" target="_self"><img src="http://i.imgur.com/mzFKQ.png"></a></div></div>

Até mais. Piscada
avatar

HermeS.
Usuário avançado

Masculino
Inscrito dia : 06/09/2012
Mensagens : 304
Pontos Ativos : 366

Ver perfil do usuário http://revolutioncheatsbr.forumeiros.com/

Ver o tópico anterior Ver o tópico seguinte Voltar ao Topo

- Tópicos similares

Permissão deste fórum:
Você não pode responder aos tópicos neste fórum