🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.javascript
Article #178

Co jest nie tak????

#178
From: Przemek
Date: Sat, 29 Dec 2001 13:44
18 lines
1262 bytes
Witam grupowiczow!

Chcialbym zrobic ruchoma warstwe i napisalem cos takiego:

function napisz()
    {
     for(poz=0;poz<=300;poz+=5)
        {
        document.all.warstwa.style.top = poz;
        }
   }
 function start()
 {
  setTimeout('napisz()',2)
  }
Po wywolaniu funkcji start() warstwa od razu przeskakuje 300 pikseli w dol.
Jak zrobic zeby ten ruch byl plynny??
Maly
Technical Details
Message-ID: <a0khi9$rss$1@news.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!warszawa.rmf.pl!newsfeed.tpinternet.pl!news.onet.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!warszawa.rmf.pl!newsfeed.tpinternet.pl!news.onet.pl!not-for-mail
From: "Przemek" <mallyy@poczta.onet.pl>
Newsgroups: pl.comp.lang.javascript
Subject: Co jest nie tak????
Date: Sat, 29 Dec 2001 14:44:39 +0100
Organization: news.onet.pl
Lines: 20
Sender: mallyy@poczta.onet.pl@pi105.warszawa.cvx.ppp.tpnet.pl
Message-ID: <a0khi9$rss$1@news.onet.pl>
NNTP-Posting-Host: pi105.warszawa.cvx.ppp.tpnet.pl
X-Trace: news.onet.pl 1009633673 28572 213.76.104.105 (29 Dec 2001 13:47:53 GMT)
X-Complaints-To: abuse@onet.pl
NNTP-Posting-Date: 29 Dec 2001 13:47:53 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit