HighDots Forums  

Re: Countdown vereinfachen?

Javascript (German) Programmiersprache JavaScript. (de.comp.lang.javascript)


Discuss Re: Countdown vereinfachen? in the Javascript (German) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dr John Stockton
 
Posts: n/a

Default Re: Countdown vereinfachen? - 05-09-2006 , 04:30 PM






JRS: In article <445c9057_1 (AT) news (DOT) bluewin.ch>, dated Sat, 6 May 2006
14:02:13 remote, seen in news:de.comp.lang.javascript, Silvano
Frischknecht <s_f (AT) bluewin (DOT) ch> posted :

Quote:
Lines: 1503

ich habe eine Seite erstellt mit mehreren Countdown's.
Doch kann man das nicht vereinfachen, dass es uebersichtlicher wird?
Wie kann ich abgelaufene Daten aus meiner Tabelle entfernen? Momentan
zeige ich den Text 0
Viele Gruesse und danke,
Silvano

... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
Repost that article, with only ONE code example of a place for each type
of effect, and if possible with the above text (and the rubric) in
Italian, French, or English (or multilingual), in
news:comp.lang.javascript, and you may well get an answer posted there.

And first change, zum beispiel,

function CountDown16() {
var Tsecond = 0; // Zielsekunden
var Tminute = 0; // Zielminuten
var Thour = 14; // Zielstunden
var Tday = 17; // Zieltag
var Tmonth = 09; // Zielmonat
var Tyear = 2006; // Zieljahr

to (preferably in reverse parameter order)

function CountDown(Tsecond, Tminute, Thour, Tday, Tmonth, Tyear)

called as

CountDown(0, 0, 14, 17, 09, 2006)

Und use a single setTimeOut for all timers.

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://www.jibbering.com/faq/> JL/RC: FAQ of news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.