Fórum cPanel: Ajudinha em script de slide - Fórum cPanel

Ir para


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Ajudinha em script de slide

#1 Membro offline   Dj Robinson Muzykant 

  • Membro
  • PipPip
  • Grupo: Membros
  • Posts: 25
  • Cadastrado: 12-maio 08

Posted 01 setembro 2008 - 11:43

Ai galera olha eu ai de novo to com uma pequena duvida em um script que exibe uns banner em meu site o problema é o seguinte quero linkar cada imagen com uma url diferente só q não to conseguindo se alguem solber segue o codigo.Vlw


<html>
<head>
<title>Agenda</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="site.css" rel="stylesheet" media="screen">
<style type="text/css">
<!--
body {
background-color: #000000;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style></head>

<body><script language="javascript" type="text/javascript">
<!--
var Slide = new Array("http://link", "", "");
var indSlide = 0;
var ultSlide = Slide.length -1;
// Função controla a seqüência de slides.
function MostraSlide(direcao){
indSlide = indSlide + direcao;
if(indSlide > ultSlide){indSlide = 0};
if(indSlide < 0) {indSlide = ultSlide};
document.FigSlide.src = Slide[indSlide];
}
//-->
</script>
<table width="257" height="262" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<th scope="col"><a href="http://link" target="_blank"><img src="http://link" alt="Clique e Saiba Mais!" name="FigSlide" width="255" height="260" border="0" /></a></th>
</tr>
</table>
<table width="229" height="25" border="0" align="center" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<th width="113" height="25" class="" scope="col"><form action="java script:MostraSlide(-1)" method="post" name="form2">
<input name="Submit2" type="submit" class="inputMessNomeCopy" value="Anterior">
</form></th>
<th width="10" class="" scope="col"><!--DWLayoutEmptyCell-->&nbsp;</th>
<th width="111" class="" scope="col"><form action="java script:MostraSlide(1)" method="post" name="form1" id="form1">
<input name="Submit" type="submit" class="inputMessNomeCopy"" value="Proximo" />
</form></th>
</tr>
</table>
</head>
<body>
</body>
</html>

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 membro(s), 1 visitante(s), 0 membro(s) anônimo(s)