Javascript top animacion

Esta rutina muestra através de una animación como ingresa lentamente una imagen desplazandose hacia abajo.

<HTML>
<HEAD>
<TITLE> type_Document_Title_here </TITLE>
<STYLE TITLE="Animation" TYPE="text/css">
<!--
  #HD0037947E { position: relative; left:10000; top:10000; }
-->
</STYLE>
<SCRIPT LANGUAGE="JavaScript1.2">
<!--
  // Scripting added by Sausage Software's HotDog 4
  if (navigator.appName == "Netscape") {
	refDoc = "document.";
	refStyle = "";
	refLeft = ".left";
	refTop = ".top";
  }
  else {
	refDoc = "document.all.";
	refStyle = ".style";
	refLeft = ".posLeft";
	refTop = ".posTop";
  }
  function ssg(s,k) {
    var sl=s.length>>1;
    var kl=k.length;
    var tmp;
    for(ss='',i=0; i<sl; i++) {
      tmp=i<<1;
      ss+=String.fromCharCode(eval("0x"+s.charAt(tmp)+s.charAt(tmp+1))^k.charCodeAt(i%kl));
    }
    return ss;
  }
  window.status="Please wait, generating DHTML animation code...";
  document.write('<SCRIPT LANGUAGE="JavaScript1.2">');
  document.write(ssg("2E1A1A271B0E5B264F102B280B5D2C0A5C2101135D3C1658200A0B553143103C43034D641C00211F4B473C0A0437461C42291D542101135D3C162730160B51751D11222B0857630A1A3006134D631D11223C134D240A4F2D094F50304E497446024229035C2101135D3C162730160B51631D11222302523C44566F52034C6A464F2D094F50314E497446024229035C2101135D3C162730160B51631D11223B0844634D5F790B1E1661541D224714402D1F48371B02443B4607211B335D250A1B311B4F132C003328060351604D536F0A0940211B0D6F4845186F44102103064D6348586344034C6348586344034D63485863444F473C0A046F5E4E1F6F43536F1C1351381C5F63464018680B11280E1E1D7312794E09125A2B1B1D2B014753240610213B0844600A1A3006134D611411320E0B1C3A0A120000041F2D01002D1B1E1F3A0A12171B1E582D440621092B512E1B5F66525716615411320E0B1C3A0A120000041F2D01002D1B1E1F3A0A12171B1E582D44062109335B384456794214573A0A112A410F5121081C304D4E0F2C003328060351600A1A3006134D645B44685F4B472B1D112101495C2D06132C1B4806784344685E5E1D7312794E", "HotDog4"));
  document.write('</SCRIPT>');
//-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!--
  function initAnimation() {
    // Only run DHTML animation if newer browser is being used.
    if (navigator.appVersion.indexOf('4') != -1){
      
      glideTop("HD0037947E");
      
    }
  }
//-->
</SCRIPT>
</HEAD>
<BODY onLoad="initAnimation()">
<SPAN ID="HD0037947E"><IMG SRC="ejemplos/bisco.gif" BORDER="0"></SPAN>
</BODY>
</HTML>  

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos necesarios están marcados *

Puedes usar las siguientes etiquetas y atributos HTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>