Foros del Web » Programando para Internet » Javascript »

ayuda por favor

Estas en el tema de ayuda por favor en el foro de Javascript en Foros del Web. hola a todos tengo esta web Código PHP: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Wellcome Macondo International</title> <style type="text/css"> <!-- body {     background-color: #0A090E; } .izq { } .izq { } .Estilo1 {color: #CCCCCC} .Estilo4 {     font-family: SwitzerlandCondensed; ...
  #1 (permalink)  
Antiguo 28/05/2007, 13:15
 
Fecha de Ingreso: marzo-2006
Mensajes: 194
Antigüedad: 18 años, 1 mes
Puntos: 1
ayuda por favor

hola a todos

tengo esta web

Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Wellcome Macondo International</title>
<style type="text/css">
<!--
body {
    background-color: #0A090E;
}
.izq {
}
.izq {
}
.Estilo1 {color: #CCCCCC}
.Estilo4 {
    font-family: SwitzerlandCondensed;
    font-size: 14px;
    color: #FFFFFF;
}
.Estilo6 {font-family: SwitzerlandCondensed; font-size: 12px; color: #FFFFFF; }
-->
</style>
<script language="JavaScript">
    

//Pictures to switch inbetween

var Rollpic1 = "images/silla_index_1.jpg";
var Rollpic2 = "images/silla_index_2.jpg";
var Rollpic3 = "images/silla_index_3.jpg";

//Start at the what pic:
var PicNumber=1;
//Number of pics:
var NumberOfPictures=3;
//Time between pics switching in secs
var HowLongBetweenPic=5;

//SwitchPic Function
function SwitchPic(counter){

    if(counter < HowLongBetweenPic){
    
        counter++;
        
        window.status="Cambia imagen cada 5 segundos : "+counter+" - Imagen nº: "+PicNumber+" ";
        
        //Display pic in what <IMG> tag roll is what I called the image
        document.roll.src = eval("Rollpic" + PicNumber);
        
        //function calls itself
        CallSwitchPic=window.setTimeout("SwitchPic("+counter+")",1500); 
        
        }
        
        else{
            //if its not the last picture goto the next picture
            if(PicNumber < NumberOfPictures){
                PicNumber++;
                SwitchPic(0);
            }
            //its the last picture go to the first one
            else{
                PicNumber=1;
                SwitchPic(0);
                }
    
        }

}
function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",100)
}
// Stop hiding from old browsers -->
</script>

</head>

<body onload="SwitchPic(0)">

<table width="800" height="107" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <th width="450" height="87" align="center" valign="middle" scope="col">&nbsp;</th>
    <th width="350" height="87" align="center" valign="middle" scope="col"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="350" height="70">
      <param name="movie" value="images/logo.swf" />
      <param name="quality" value="high" />
      <embed src="images/logo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="350" height="70" ></embed>
    </object></th>
  </tr>
  <tr>
    <th height="19" align="center" valign="middle" scope="col">&nbsp;</th>
    <th height="19" align="center" valign="middle" scope="col">&nbsp;</th>
  </tr>
</table>
<table width="800" height="350" border="0" align="center">
  <tr>
    <th scope="col">
        <img src="images/silla_index_1.jpg"  border="0" name="roll" >
</th>
  </tr>
</table>

</body>
</html>
<?
    
require_once('incluir/pie.php');
?>
este script lo que hace es cambiar la imagen cada 5 segundos, pero necesito ademas adicionarle que cada que cambie se aplique un alfa o algo asi para que se vea la transicion, es urgente

Gracias
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 05:19.