Foros del Web » Creando para Internet » Diseño web »

Marquesina De Fotos Para Html

Estas en el tema de Marquesina De Fotos Para Html en el foro de Diseño web en Foros del Web. Esta es una marquesina que pueden agregar a buestras paginas: <html> <head> <meta http-equiv="Content-Language" content="es"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>JIM LARRY NUÑEZ DEL PRADOR BEJAR</title> ...
  #1 (permalink)  
Antiguo 02/10/2007, 17:08
 
Fecha de Ingreso: octubre-2007
Mensajes: 2
Antigüedad: 16 años, 6 meses
Puntos: 0
Marquesina De Fotos Para Html

Esta es una marquesina que pueden agregar a buestras paginas:

<html>

<head>
<meta http-equiv="Content-Language" content="es">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>JIM LARRY NUÑEZ DEL PRADOR BEJAR</title>
</head>

<body>

<p><font face="Arial Black" size="6" color="#008000">JIM LARRY NUÑEZ DEL PRADOR
BEJAR</font></p>
<div style="position: absolute; width: 881px; height: 100px; z-index: 1; left: 10px; top: 79px" id="capa1">

<DIV id=divSC0
style="Z-INDEX: 20; BACKGROUND: #ffffff; LEFT: 0px; VISIBILITY: visible; WIDTH: 190px; POSITION: absolute; TOP: 0px; HEIGHT: 94px"><A
onmouseover=stopScroll(); onmouseout=startScroll();
href="http://www.condortravel.com.pe/peru.asp" target=_top>
<IMG height=92
alt="Sillustani - Peru" src="hphoto01a.jpg" width=190 border=0>
</A></DIV>
<DIV id=divSC1
style="Z-INDEX: 19; BACKGROUND: #ffffff; LEFT: 191px; VISIBILITY: visible; WIDTH: 125px; POSITION: absolute; TOP: 0px; HEIGHT: 94px"><A
onmouseover=stopScroll(); onmouseout=startScroll();
href="http://www.condortravel.com.pe/ecuador.asp" target=_top>
<IMG height=94
alt="Galapagos - Ecuador" src="hphoto02a.jpg" width=125
border=0> </A></DIV>
<DIV id=divSC2
style="Z-INDEX: 18; BACKGROUND: #ffffff; LEFT: 317px; VISIBILITY: visible; WIDTH: 135px; POSITION: absolute; TOP: 0px; HEIGHT: 94px"><A
onmouseover=stopScroll(); onmouseout=startScroll();
href="http://www.condortravel.com.pe/chile.asp" target=_top>
<IMG height=94
alt="Moai Figure - Chile" src="hphoto03a.jpg" width=135
border=0> </A></DIV>
<DIV id=divSC3
style="Z-INDEX: 17; BACKGROUND: #ffffff; LEFT: 453px; VISIBILITY: visible; WIDTH: 105px; POSITION: absolute; TOP: 0px; HEIGHT: 94px"><A
onmouseover=stopScroll(); onmouseout=startScroll();
href="http://www.condortravel.com.pe/bolivia.asp" target=_top>
<IMG height=94
alt="Bolivian Girl - Bolivia" src="hphoto04a.jpg" width=105
border=0> </A></DIV>
<DIV id=divSC4
style="Z-INDEX: 16; BACKGROUND: #ffffff; LEFT: 559px; VISIBILITY: visible; WIDTH: 145px; POSITION: absolute; TOP: 0px; HEIGHT: 94px"><A
onmouseover=stopScroll(); onmouseout=startScroll();
href="http://www.condortravel.com.pe/peru.asp" target=_top>
<IMG height=94
alt="Jaguar - Peru" src="hphoto05a.jpg" width=145 border=0>
</A></DIV>
<DIV id=divSC5
style="Z-INDEX: 15; BACKGROUND: #ffffff; LEFT: 705px; VISIBILITY: visible; WIDTH: 150px; POSITION: absolute; TOP: 0px; HEIGHT: 94px"><A
onmouseover=stopScroll(); onmouseout=startScroll();
href="http://www.condortravel.com.pe/chile.asp" target=_top>
<IMG height=94
alt="Patagonia - Chile" src="hphoto06a.jpg" width=150 border=0>
</A></DIV>
<DIV id=divSC6
style="Z-INDEX: 14; BACKGROUND: #ffffff; LEFT: 856px; VISIBILITY: visible; WIDTH: 145px; POSITION: absolute; TOP: 0px; HEIGHT: 94px"><A
onmouseover=stopScroll(); onmouseout=startScroll();
href="http://www.condortravel.com.pe/peru.asp" target=_top>
<IMG height=94
alt="Machu Picchu - Peru" src="hphoto07a.jpg" width=145
border=0> </A></DIV>
<DIV id=divSC7
style="Z-INDEX: 13; BACKGROUND: #ffffff; LEFT: 1002px; VISIBILITY: visible; WIDTH: 140px; POSITION: absolute; TOP: 0px; HEIGHT: 94px"><A
onmouseover=stopScroll(); onmouseout=startScroll();
href="http://www.condortravel.com.pe/peru.asp" target=_top>
<IMG height=94
alt="Macaw Clay Lick - Peru" src="hphoto08a.jpg" width=140
border=0> </A></DIV>
<DIV id=divSC8
style="Z-INDEX: 12; BACKGROUND: #ffffff; LEFT: 1142px; VISIBILITY: visible; WIDTH: 190px; POSITION: absolute; TOP: 0px; HEIGHT: 94px"><A
onmouseover=stopScroll(); onmouseout=startScroll();
href="http://www.condortravel.com.pe/ecuador.asp" target=_top>
<IMG height=94
alt="Chimborazo Volcano - Ecuador" src="hphoto09a.jpg" width=190
border=0> </A></DIV>
<SCRIPT language=JavaScript type=text/javascript>
var iLeft = 0;
var iLeader = 0;
var oVisDiv0;
var oVisDiv1;
var oVisDiv2;
var oVisDiv3;
var oVisDiv4;
var oVisDiv5;
var TimeOutID
var m_ImageWidth = 8;
var m_iSeq = m_ImageWidth;
var iNumberOfImages = 9;


startScroll();


loadVisibleDiv();

function startScroll()
{
TimeOutID = window.setInterval('doIt();',50);
}
function stopScroll()
{
clearInterval(TimeOutID);
}

function loadVisibleDiv()
{
if (document.layers){
for (var iCnt=0; iCnt<=m_ImageWidth; iCnt++)
{
eval("oVisDiv" + iCnt + " = document.layers['divSC" + iCnt + "']")
}
}
else if (document.all){
for (var iCnt=0; iCnt<=m_ImageWidth; iCnt++)
{
eval("oVisDiv" + iCnt + " = document.all['divSC" + iCnt + "'].style")
}
}
else if (document.getElementById)
{
for (var iCnt=0; iCnt<=m_ImageWidth; iCnt++)
{
eval("oVisDiv" + iCnt + " = document.getElementById('divSC" + iCnt + "').style")
}
}
}

function doIt()
{
var iLa;
var iLb;
var iLc;
var iLd;
var iAddIncr
var iLocal
var i
iLocal=iLeader
iAddIncr=0;
for (var iCnt=0; iCnt<=m_ImageWidth; iCnt++)
{
eval("oVisDiv" + iLocal + ".left=" + (iLeft + iAddIncr));
iAddIncr += MediaData[iLocal].Width + 1 // + 1 is the spacer
iLocal+=1
if (iLocal>m_ImageWidth)
{
iLocal=0
}
}

if (iLeft<=-(MediaData[iLeader].Width+1))
{
iLeft=0;
m_iSeq+=1;
if (m_iSeq > iNumberOfImages-1)
{
m_iSeq=0;
}
iLeader+=1;
if (iLeader > m_ImageWidth)
{
iLeader=0;
}
}

iLeft-=1
}



var MediaData = new Array();
function makeData(ID, Width, Height)
{
this.ID = ID;
this.Width = Width;
this.Height = Height;
return true;
}
MediaData[0] = new makeData('RZ002293',190,0)
MediaData[1] = new makeData('352569',125,0)
MediaData[2] = new makeData('AX073891',135,0)
MediaData[3] = new makeData('350659',105,0)
MediaData[4] = new makeData('AAHR001115',145,0)
MediaData[5] = new makeData('OUT922282',150,0)
MediaData[6] = new makeData('AX075185',145,0)
MediaData[7] = new makeData('OUT922816',140,0)
MediaData[8] = new makeData('RF244079',190,0)


</SCRIPT>

<p>&nbsp;</div>

</body>

</html>
-------------------------------------------------------------------------------------
disfrutenlas. [email protected]
  #2 (permalink)  
Antiguo 02/10/2007, 21:56
Avatar de Undying  
Fecha de Ingreso: julio-2006
Ubicación: Argentina
Mensajes: 389
Antigüedad: 17 años, 9 meses
Puntos: 6
Re: Marquesina De Fotos Para Html

habría que cambiar muchas lineas de código. Para tener un mayor control es mejor hacelo desde cero incluso habrá que depurar menos errores si es que los tiene.
Hay programas que te agilizan ya invocando desde una carpeta las imágenes ahí alojadas.

Es mi humilde opinión.
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 22:36.