Slide no forum

2 participantes

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

Tópico resolvido Slide no forum

Mensagem por pyrohinotama 02.05.13 21:38

Qual é minha questão:
Ola, gostaria de colocar um slide no meu forum(abaixo da area de propaganda e em cima do chat box), como devo proceder??
gostaria de um slide igual ao deste forum: http://www.pokeshiny.com/

Endereço do meu fórum:
http://rpgadventure.umforum.net

Versão do fórum:
PHPBB2


Última edição por pyrohinotama em 02.05.13 23:17, editado 1 vez(es)
pyrohinotama

pyrohinotama
Membro

Membro desde : 30/03/2013
Mensagens : 852
Pontos : 1304

http://rpgadventure.umforum.net/h2-alianca-katsuo

Ir para o topo Ir para baixo

Tópico resolvido Re: Slide no forum

Mensagem por Diehl 02.05.13 23:05

Olá. Para fazer um slider igual ao que tu citaste, faça o seguinte.

Vá em:
Seta Painel de Controle :seta2: Módulos :seta2: HTML & JavaScript :seta2: Gestão das páginas HTML

Aqui vamos criar uma nova página HTML.
Seta curta Título - Ponha um título qualquer;
Seta curta Você deseja utilizar o início e o final da página do seu fórum ? - Marque a opção "não";
Seta curta Usar esta página como página inicial? - Marque a opção "não";
Seta curta Código HTML - Adicione o código abaixo.
Código:

<center><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<style>
.slide {font-family: verdana; font-size: 11px;}
</style>
<link rel="stylesheet" type="text/css" href="http://habboxhost1.orgfree.com/files/tooltip.css" />
 
 
<script type="text/javascript" language="javascript" src="http://habboxhost1.orgfree.com/files/tooltip.js"></script>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
      <script src="http://habboxhost1.orgfree.com/scripts/mootools.v1.11.js" type="text/javascript"></script>
      <script src="http://habboxhost1.orgfree.com/scripts/jd.gallery.js" type="text/javascript"></script>
      <style type="text/css">

a:link {
 
  color: #E3BD00;
 
  font-weight: bold;
  text-decoration: none;
 
}
 
a:visited {
 
  color: #E3BD00;
  text-decoration: none;
 
}
 
a:hover {
 
  color: #E3BD00;
  text-decoration: none;
 
}
 
a:active {
 
  color: #E3BD00;
  text-decoration: none;
 
}
 
.style2 {font-family: Calibri, Verdana, Arial, Helvetica, sans-serif;}
 
body,td,th {
 
  color: #FFFFFF;
  font-family: Calibri, Verdana, Helvetica, sans-serif;
    font-size: 6px;
  background: #FFFFFF;
 
}
     
     
#myGallery, #myGallerySet, #flickrGallery
{
  width: 954px;
  height: 293px;
  z-index:5;
  border: 1px solid #350000;
}

#flickrGallery
{
  width: 500px;
  height: 334px;
}

#myGallery img.thumbnail, #myGallerySet img.thumbnail
{
  display: none;
}

.jdGallery
{
  overflow: hidden;
  position: relative;
}

.jdGallery img
{
  border: 0;
  margin: 0;
}

.jdGallery .slideElement
{
  width: 100%;
  height: 100%;
  background-color: #350000;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url('img/loading-bar-black.gif');
}

.jdGallery .loadingElement
{
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #350000;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url('img/loading-bar-black.gif');
}

.jdGallery .slideInfoZone
{
  position: absolute;
  z-index: 10;
  width: 100%;
  margin: 0px;
  left: 0;
  bottom: 0;
  height: 70px;
  background: #333;
  color: #fff;
  text-indent: 0;
  overflow: hidden;
}

* html .jdGallery .slideInfoZone
{
  bottom: -1px;
}

.jdGallery .slideInfoZone h2
{
  padding: 0;
  font-size: 80%;
  margin: 0;
  margin: 2px 5px;
  font-weight: bold;
  color: inherit;
}

.jdGallery .slideInfoZone p
{
  padding: 0;
  font-size: 60%;
  margin: 2px 5px;
  color: #eee;
}

.jdGallery div.carouselContainer
{
  position: absolute;
  height: 135px;
  width: 100%;
  z-index: 10;
  margin: 0px;
  left: 0;
  top: 0;
}

.jdGallery a.carouselBtn
{
  position: absolute;
  bottom: 0;
  right: 30px;
  height: 20px;
  /*width: 100px; background: url('img/carousel_btn.gif') no-repeat;*/
  text-align: center;
  padding: 0 10px;
  font-size: 13px;
  background: #333;
  color: #fff;
  cursor: pointer;
}

.jdGallery .carousel
{
  position: absolute;
  width: 100%;
  margin: 0px;
  left: 0;
  top: 0;
  height: 115px;
  background: #333;
  color: #fff;
  text-indent: 0;
  overflow: hidden;
}

.jdExtCarousel
{
  overflow: hidden;
  position: relative;
}

.jdGallery .carousel .carouselWrapper, .jdExtCarousel .carouselWrapper
{
  position: absolute;
  width: 100%;
  height: 78px;
  top: 10px;
  left: 0;
  overflow: hidden;
}

.jdGallery .carousel .carouselInner, .jdExtCarousel .carouselInner
{
  position: relative;
}

.jdGallery .carousel .carouselInner .thumbnail, .jdExtCarousel .carouselInner .thumbnail
{
  cursor: pointer;
  background: #350000;
  background-position: center center;
  float: left;
  border: solid 1px #fff;
}

.jdGallery .wall .thumbnail, .jdExtCarousel .wall .thumbnail
{
  margin-bottom: 10px;
}

.jdGallery .carousel .label, .jdExtCarousel .label
{
  font-size: 13px;
  position: absolute;
  bottom: 5px;
  left: 10px;
  padding: 0;
  margin: 0;
}

.jdGallery .carousel .wallButton, .jdExtCarousel .wallButton
{
  font-size: 10px;
  position: absolute;
  bottom: 5px;
  right: 10px;
  padding: 1px 2px;
  margin: 0;
  background: #222;
  border: 1px solid #888;
  cursor: pointer;
}

.jdGallery .carousel .label .number, .jdExtCarousel .label .number
{
  color: #b5b5b5;
}
 
 
/* Gallery Sets */

.jdGallery a.gallerySelectorBtn
{
  z-index: 15;
  position: absolute;
  top: 0;
  left: 30px;
  height: 20px;
  /*width: 100px; background: url('img/carousel_btn.gif') no-repeat;*/
  text-align: center;
  padding: 0 10px;
  font-size: 13px;
  background: #333;
  color: #fff;
  cursor: pointer;
  opacity: .4;
  -moz-opacity: .4;
  -khtml-opacity: 0.4;
  filter:alpha(opacity=40);
}

.jdGallery .gallerySelector
{
  z-index: 20;
  width: 100%;
  height: 100%;
  position: relative;
  top: 0;
  left: 0;
  background: #350000;
}

.jdGallery .gallerySelector h2
{
  margin: 0;
  padding: 10px 20px 10px 20px;
  font-size: 20px;
  line-height: 30px;
  color: #fff;
}

.jdGallery .gallerySelector .gallerySelectorWrapper
{
  overflow: hidden;
}

.jdGallery .gallerySelector .gallerySelectorInner div.galleryButton
{
  margin-left: 10px;
  margin-top: 10px;
  border: 1px solid #888;
  padding: 5px;
  height: 40px;
  color: #fff;
  cursor: pointer;
  float: left;
}

.jdGallery .gallerySelector .gallerySelectorInner div.hover
{
  background: #333;
}

.jdGallery .gallerySelector .gallerySelectorInner div.galleryButton div.preview
{
  background: #350000;
  background-position: center center;
  float: left;
  border: none;
  width: 40px;
  height: 40px;
  margin-right: 5px;
}

.jdGallery .gallerySelector .gallerySelectorInner div.galleryButton h3
{
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-weight: normal;
}

.jdGallery .gallerySelector .gallerySelectorInner div.galleryButton p.info
{
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-weight: normal;
  color: #aaa;
}
 
<!--
 
#myGallery
 
{
 
width: 954px !important;
 
height: 293px !important;
 
}

 
.style2 {font-family: Verdana, Arial, Helvetica, sans-serif}

 
-->
 
        </style>
 
</head>
 
  <body>
 
<script type="text/javascript">
 
function startGallery() {
 
var myGallery = new gallery($('myGallery'), {
 
timed: true
 
});
 
}
 
window.addEvent('domready', startGallery);
 
</script>
 
<style>
body{padding:0px;margin:0px;}
</style>
</head>
<body>

      <div align="center" class="content">
        <div id="myGallery">   

<div class="imageElement">

                <h3><font size="5">#ParaSempreShiny</font></h3>
              <p class="style2"><font size="2"> <a target="_blank" href="http://www.pokeshiny.com/t9335-parasempreshiny#126746">Venha relembrar os bons momentos e contar a sua historia de amor com a Shiny!!</a></font></p>             
                <a href="#" title="  " class="open" target="conteudo_ihabbo"></a><img src="http://i.imgur.com/c2Nut5R.png"  class="full"/><img src="http://i.imgur.com/c2Nut5R.png" class="thumbnail" />          </div>
<div class="imageElement">

                <h3><font size="5">Shiny Cup - Ano IV</font></h3>
              <p class="style2"><font size="2"> <a target="_blank" href="http://www.pokeshiny.com/f12-torneios-de-pokemon-online">Aguarde!...</a></font></p>             
                <a href="#" title="  " class="open" target="conteudo_ihabbo"></a><img src="http://i.imgur.com/tE4I71W.png"  class="full"/><img src="http://i.imgur.com/tE4I71W.png" class="thumbnail" />          </div>
<div class="imageElement">

                <h3><font size="5">SHINY MAGAZINE #10</font></h3>
              <p class="style2"><font size="2"><a target="_blank" href="http://www.pokeshiny.com/t9256-shiny-magazine-edicao10-marco-2013#125475">Clique aqui e confira!</a></font></p>             
                <a href="#" title="  " class="open" target="conteudo_ihabbo"></a><img src="http://i.imgur.com/LVZTmv0.png"  class="full"/><img src="http://i.imgur.com/bZgmt7W.png" class="thumbnail" />          </div>   
<div class="imageElement">

                <h3><font size="5">Random Switch - Abril</font></h3>
              <p class="style2"><font size="2"> <a target="_blank" href="http://www.pokeshiny.com/t9250-random-switch-abril-2013">Random Battle sem esperas! Aqui na Shiny temos Challenge Cup o ano inteiro! Venha jogar com a gente!</a></font></p>             
                <a href="#" title="  " class="open" target="conteudo_ihabbo"></a><img src="http://i.imgur.com/860MRlU.png"  class="full"/><img src="http://i.imgur.com/860MRlU.png" class="thumbnail" />          </div> 
<div class="imageElement">

                <h3><font size="5">Monotype Challenge #4</font></h3>
              <p class="style2"><font size="2"> <a target="_blank" href="http://www.pokeshiny.com/t9264-inscricoes-abertas-monotype-challenge-4">Voce tem um tipo favorito? Pois bem, mostre que ele é️ superior aos outros tipos neste torneio!</a></font></p>             
                <a href="#" title="  " class="open" target="conteudo_ihabbo"></a><img src="http://i.imgur.com/FxfXi9Z.png"  class="full"/><img src="http://i.imgur.com/FxfXi9Z.png" class="thumbnail" />          </div>
<div class="imageElement">

                <h3><font size="5">Milenar Championship #2</font></h3>
              <p class="style2"><font size="2"> <a target="_blank" href="http://www.pokeshiny.com/t9179-inscricoes-kids-cup-4">O torneio que transcende as eras para coroar o maior Metagame dos jogos... venha jogar com a gente!</a></font></p>             
                <a href="#" title="  " class="open" target="conteudo_ihabbo"></a><img src="http://i.imgur.com/7ZsI8ge.png"  class="full"/><img src="http://i.imgur.com/7ZsI8ge.png" class="thumbnail" />          </div>
<div class="imageElement">

                <h3><font size="5">PokeShiny Tours 2013</font></h3>
              <p class="style2"><font size="2">Fiquem ligados! Os tours sao mensais e cada vez é️ uma regra diferente!! <a target="_blank" href="http://www.pokeshiny.com/f37-pokeshiny-tour">Siga o Topico!</a></font></p>             
                <a href="#" title="  " class="open" target="conteudo_ihabbo"></a><img src="http://i.imgur.com/ejTVh.png"  class="full"/><img src="http://i.imgur.com/MDv4O.png" class="thumbnail" />          </div>
<div class="imageElement">

                <h3><font size="5">Desafio Shiny Magazine</font></h3>
              <p class="style2"><font size="2">Quer testar suas habilidades em design e ainda aparecer na Shiny Magazine? <a target="_blank" href="http://www.pokeshiny.com/f100-desafio-shiny-magazine">Conheca este novo campeonato que os Shiny Designers prepararam!!</a></font></p>             
                <a href="#" title="  " class="open" target="conteudo_ihabbo"></a><img src="http://i.imgur.com/OT99Z.png"  class="full"/><img src="http://i.imgur.com/LkpGW.png" class="thumbnail" />          </div>
 
                             
</div>

</body>
</html></center>



Feito isso, vamos colocar o slider na página inicial do fórum. Vá em:
Seta Painel de Controle :seta2: Visualização :seta2: Página Inicial :seta2: Geral :seta2: Mensagem na Página Inicial

Seta curta Assunto da mensagem - Pode deixar em branco;
Seta curta Conteúdo da mensagem - Adicione o código abaixo.
Código:

<iframe frameborder="0" marginwidth="0" marginheight="0" scrolling="No" width="100%" height="100" style= " top: 0%; left: 0%;height: 300px;width: 100%;" src="URL-DA-PAGINA-CRIADA"></iframe>




Logo tu notará que o slider está realmente IGUAL ao que tu citaste, mas aí é só modificar o código dele como tu desejar... Caso tu não saibas como fazer isso, é só falar, que a gente (eu, ou qualquer outro membro do FdF) te dá uma ajuda.


Última edição por Diehl em 03.05.13 0:30, editado 1 vez(es)
Diehl

Diehl
****

Membro desde : 30/09/2010
Mensagens : 221
Pontos : 377

Ir para o topo Ir para baixo

Tópico resolvido Re: Slide no forum

Mensagem por pyrohinotama 02.05.13 23:15

perfeito, deu muito certo, não precisa se preocupar que eu sei editar, valeu ae Feliz
pyrohinotama

pyrohinotama
Membro

Membro desde : 30/03/2013
Mensagens : 852
Pontos : 1304

http://rpgadventure.umforum.net/h2-alianca-katsuo

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