Ver Mensaje Individual
  #3 (permalink)  
Antiguo 09/10/2008, 10:48
marianoger
 
Fecha de Ingreso: octubre-2008
Mensajes: 6
Antigüedad: 15 años, 7 meses
Puntos: 0
Respuesta: soy nuevo necesito colaboración con esto

Perdón por la inexperiencia aquí va el código


<html>
<head>
<title>Santiago ofertas</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
margin-top: 0px;
}
.Estilo2 {
font-size: 24px;
font-weight: bold;
color: #990000;
}
-->
</style>
<SCRIPT LANGUAGE="JavaScript">
<!-- // BannerAD

var bannerAD=new Array();
var bannerADlink=new Array();
var adNum=0;

bannerAD[0]="Graficos/miniaturas/4.jpg";
bannerADlink[0]="http://www.dw.com/";
bannerAD[1]="Graficos/miniaturas/5.jpg";
bannerADlink[1]="";
bannerAD[2]="Graficos/miniaturas/6.jpg";
bannerADlink[2]="";

var preloadedimages=new Array();
for (i=1;i<bannerAD.length;i++){
preloadedimages[i]=new Image();
preloadedimages[i].src=bannerAD[i];
}

function setTransition(){
if (document.all){
bannerADrotator.filters.revealTrans.Transition=Mat h.floor(Math.random()*23);
bannerADrotator.filters.revealTrans.apply();
}
}

function playTransition(){
if (document.all)
bannerADrotator.filters.revealTrans.play()
}

function nextAd(){
if(adNum<bannerAD.length-1)adNum++ ;
else adNum=0;
setTransition();
document.images.bannerADrotator.src=bannerAD[adNum];
playTransition();
theTimer=setTimeout("nextAd()", 5000);
}

function jump2url(){
jumpUrl=bannerADlink[adNum];
jumpTarget='';
if (jumpUrl != ''){
if (jumpTarget != '')window.open(jumpUrl,jumpTarget);
else location.href=jumpUrl;
}
}
function displayStatusMsg() {
status=bannerADlink[adNum];
document.returnValue = true;
}

//-->
</script>
<body>
<table width="775" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#000000">
<!--DWLayoutTable-->
<tr>
<td width="309" height="43">&nbsp;</td>
<td width="38">&nbsp;</td>
<td width="284">&nbsp;</td>
<td width="144">&nbsp;</td>
</tr>
<tr>
<td height="180" valign="top"><BANNERAD><a href="javascript:jump2url()" onMouseOver="displayStatusMsg();return document.returnValue"><img src="Graficos/miniaturas/1.jpg" alt="." name="bannerADrotator" border=0 style="filter:revealTrans(duration=2,transition=20 )"></a>
<script language="JavaScript">nextAd()</script>
</BANNERAD></td>
<td>&nbsp;</td>
<td valign="top"><BANNERAD><a href="javascript:jump2url()" onMouseOver="displayStatusMsg();return document.returnValue"><img src="Graficos/miniaturas/4.jpg" alt="2" name="bannerADrotator" border=0 style="filter:revealTrans(duration=2,transition=20 )"></a>
<script language="JavaScript">nextAd()</script>
</BANNERAD></td>
<td>&nbsp;</td>
</tr>

<tr>
<td height="1304">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
<BANNERAD></BANNERAD>
<BANNERAD></BANNERAD>
<BANNERAD></BANNERAD>
</body>
</html>