Jump to content


pereira91

Member Since 16/04/2009
Offline Last Active 29/04/2009, 09:14
-----

Posts I've Made

In Topic: Poucos Parâmetros. 1 Esperado.

28/04/2009, 06:57

Colega ... no início do post vc refere-se ao erro ERROR [07002æ©]
e na imagem mostra outro ERRO [42000]

Qual é o real problema?

Obs: Tópico para .NET » ASP.NET !


In Topic: Ajudinha Em Galeria De Imagens Com Fso

16/04/2009, 18:45

pega este código



espero ter ajudado


<html>
<script language="JavaScript">
var foto=1
total=10 <!-- DIGITE AQUI O TOTAL DE FOTOS -->
function backward(){
if (foto>1){
window.status='Carregando...'
foto--
document.images.photoslider.alt="Carregando..."
document.images.photoslider.src=""
document.images.photoslider.src=foto+".jpg"
fim.style.visibility='hidden'
window.status='';
document.rotater.numero.value=foto;
}
}
function forward(){
if (foto<total){
window.status='Carregando...'
foto++
document.images.photoslider.alt="Carregando..."
document.images.photoslider.src=""
document.images.photoslider.src=foto+".jpg"
window.status=''
document.rotater.numero.value=foto;
}
if (foto==total)
{
fim.style.width='100%'
fim.style.height='20px'
fim.style.visibility='visible'
window.status='Final das fotos'
}
}
function mudar(valor)
{
foto=valor
document.images.photoslider.alt="Carregando..."
document.images.photoslider.src=""
document.images.photoslider.src=valor+".jpg"
document.rotater.numero.value=foto;
}

function combo(n)
{
n=total
ni=1
document.write("<select size='1' class='botao' onChange='location = options[selectedIndex].value'>")
while(ni<=n)
{
document.write("<option value='java script:mudar("+ni+")'>"+ni+"</option>")
ni++
}
document.write("</select>")
}
</script>
<head>
<title>Galeria de Fotos</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
.botao {
background-color:#ffffff;
font-family:Verdana, Arial, Helvetica, sans-serif;
color:#FF0000;
font-size:9pt;
border:1px solid #ff0000;

}
.style1
{
width: 87%;
}
</style>
</head>

<body>

<table cellspacing=0 cellpadding=0 width=100% bgcolor="#0066FF"
style="height: 39px">
<tr>
<td bgcolor=#8CC7EF width=100%><center style="height: 29px"><b><font style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 13pt; color: #475D8C" face="Tahoma"><font size=5 new romam><b></b></font></font>
<font style="font-style: normal; font-variant: normal; font-size: 20pt; color: #475D8C"
face="Tahoma">Galeria de Imagens
</font></b></center>
</td>
</tr>
</table>
<br > <br />
<marquee><p font style="font-style: normal; font-variant: normal; font-size: 20pt; color: #475D8C" >Observe as nossas fotografias com atenção</p></marquee>
<input type="button" value="&lt;&lt;Anterior" class="botao" name="B2" onClick="backward()">
<input type="button" value="Próxima&gt;&gt;" class="botao" name="B1" onClick="forward()">
<input type="button" value="Início" class="botao" onClick="foto=2;backward();return false">
<table border="0" cellpadding="0">
<tr>
<td align="left" class="style1">&nbsp;<img src="1.JPG" name="photoslider"
align="middle" style="width: 492px"></td>
<td>
&nbsp;</td>
</tr>
<tr>
<td class="style1"><form method="POST" name="rotater">
<div id="fim" align="center" style="visibility:hidden; width:1px height:1px z-index:1;"><b>FINAL DAS FOTOS</b></div>
<b><font color=#ff0000>Foto <input type="text" name="numero" size="1" value="1"class="botao"> de

<!-- DIGITE AQUI TAMBÉM O TOTAL DE FOTOS -->10

- Vá para foto: </font></b><script>java script:combo()</script></p>
</form>
</td>
</tr>
</table>
<br><br><br><br><br><br><br><br>

</body>
</html>

In Topic: Duvidas Com Formulario

16/04/2009, 17:45

cara nao tou etedendo o q voçe quer fazer com o botao obrigado???

IPB Skin By Virteq