[StarWarsScroller]

Looking for free scripts?

Well you don't have

travel to a distant galaxy!

Get all the free scripts

you can handle

at Nightfire.ch

Can't find what you're looking for?

Check out the source

Nightfire.ch

All the newest

programming and development news

at the Journal

http://www.webdevelopersjournal.com

Got a question you can't find an answer?

http://forums.webdeveloper.com

Forums covering a variety

of programming languages and operating systems

Eine Laufschrift im Stil des StarWars Filmabspanns...

[Code]

[zwischen <HEAD> und </HEAD>]
<style>
.vline {font-size: 0; margin: 0}
.line {font-size: 0; margin: 0; display: none}
</style>

[zwischen <BODY> und </BODY>]
<div style="position: absolute; left: -100%; top: 20%; width: 300%; height: 80%; overflow: hidden; text-align: center">

<p id="p0" class="line"> </p>
<p id="p1" class="line"> </p>
<p id="p2" class="line"> </p>
<p id="p3" class="line"> </p>
<p id="p4" class="line"> </p>
<p id="p5" class="line"> </p>
<p id="p6" class="line"> </p>
<p id="p7" class="line">Looking for free scripts?</p>
<p id="p8" class="line">Well you don't have</p>
<p id="p9" class="line">travel to a distant galaxy!</p>
<p id="p10" class="line">Get all the free scripts</p>
<p id="p11" class="line">you can handle</p>
<p id="p12" class="line">at Nightfire.ch</p>
<p id="p13" class="line">Can't find what you're looking for?</p>
<p id="p14" class="line">Check out the source</p>
<p id="p15" class="line">Nightfire.ch</p>
<p id="p16" class="line">All the newest </p>
<p id="p17" class="line">programming and development news</p>
<p id="p18" class="line">at the Journal</p>
<p id="p19" class="line">http://www.webdevelopersjournal.com</p>
<p id="p20" class="line">Got a question you can't find an answer?</p>
<p id="p21" class="line">http://forums.webdeveloper.com</p>
<p id="p22" class="line">Forums covering a variety</p>
<p id="p23" class="line">of programming languages and operating systems</p>
</div>

<script>
 var ti, cnt, fv = 0;


 function handler()
 {
  var i, sz;


  cnt++;
  if (fv >= 24) clearInterval(ti);


  var mx = fv+8;
  if (mx >= 24) mx = 24;

  for (i = fv; i < mx; i++)
  {
   sz = -cnt*2 + i * 10;
   if (sz <= 0)
   {
    fv = i + 1;
    document.all("p" + i).className = "line";
   }
   else if (sz <= 80)
   {
    document.all("p" + i).style.fontSize = sz + "pt";
    document.all("p" + i).className = "vline";
   }
  }
 }


 function init()
 {
  document.all.p4.className = "vline";
  cnt = 0;
  ti = setInterval("handler()", 100);
 }


 init();
</script>

[Autor]

shvaika.ic.ck.ua

[Download]

Kopieren Sie bitte den Code

Copyright © 1998- Nightfire Webworker Archiv Script No: 440