VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time ]
Subject: Re: Dans vrijdag


Author:
Jan
[ Next Thread | Previous Thread | Next Message | Previous Message ]
Date Posted: 17:48:57 06/20/02 Thu
Author Host/IP: adsl-66225.turboline.skynet.be/217.136.130.177
In reply to: Ruthie 's message, "Dans vrijdag" on 16:12:43 06/20/02 Thu





Oiterpe vzw

















<BR> <body onLoad="startBanner();"><BR> <SCRIPT LANGUAGE="JavaScript"><BR> <BR> <!--<BR> <BR> // Copyright (c) 1996 Tomer Shiran. All rights reserved.<BR> // Permission given to use this script provided that the copyright<BR> // notice remains as is. Additional scripts and information are <BR> // available at <a rel=nofollow target=_blank href="http://www.geocities.com/SiliconValley/9000/">http://www.geocities.com/SiliconValley/9000/</a><BR> <BR> // set speed of banner (pause in milliseconds between characters)<BR> var speed = 100 // decrease value to increase speed (must be positive)<BR> <BR> // set pause between completion of message and beginning of following message<BR> var pause = 1000 // increase value to increase pause<BR> <BR> // set initial values<BR> var timerID = null<BR> var bannerRunning = false<BR> <BR> // create global array<BR> var ar = new Array()<BR> <BR> //Vul hieronder de tekst lijn per lijn in.<BR> //Voeg lijnen toe met ar[6] = "Uw tekst hier" enz...<BR> //U kan ook gewoon lijnen verwijderen<BR> <BR> ar[0] = "Welkom bij Oiterpe!"<BR> ar[1] = "Voeg ons toe aan uw favorieten!"<BR> ar[3] = "Laat een berichtje achter in het gastenboek!"<BR> <BR> // set index of first message to be displayed first<BR> var currentMessage = 0<BR> <BR> // set index of last character to be displayed first<BR> var offset = 0<BR> <BR> // stop the banner if it is currently running<BR> function stopBanner() {<BR> // if banner is currently running<BR> if (bannerRunning)<BR> // stop the banner<BR> clearTimeout(timerID)<BR> <BR> // timer is now stopped<BR> bannerRunning = false<BR> }<BR> <BR> // start the banner<BR> function startBanner() {<BR> // make sure the banner is stopped<BR> stopBanner()<BR> <BR> // start the banner from the current position<BR> showBanner()<BR> }<BR> <BR> // type-in the current message<BR> function showBanner() {<BR> // assign current message to variable<BR> var text = ar[currentMessage]<BR> <BR> // if current message has not finished being displayed<BR> if (offset < text.length) {<BR> // if last character of current message is a space<BR> if (text.charAt(offset) == " ")<BR> // skip the current character<BR> offset++ <BR> <BR> // assign the up-to-date to-be-displayed substring<BR> // second argument of method accepts index of last character plus one<BR> var partialMessage = text.substring(0, offset + 1) <BR> <BR> // display partial message in status bar<BR> window.status = partialMessage<BR> <BR> // increment index of last character to be displayed<BR> offset++ // IE sometimes has trouble with "++offset"<BR> <BR> // recursive call after specified time<BR> timerID = setTimeout("showBanner()", speed)<BR> <BR> // banner is running<BR> bannerRunning = true<BR> } else {<BR> // reset offset<BR> offset = 0<BR> <BR> // increment subscript (index) of current message<BR> currentMessage++<BR> <BR> // if subscript of current message is out of range<BR> if (currentMessage == ar.length)<BR> // wrap around (start from beginning)<BR> currentMessage = 0<BR> <BR> // recursive call after specified time<BR> timerID = setTimeout("showBanner()", pause)<BR> <BR> // banner is running<BR> bannerRunning = true<BR> }<BR> }<BR> <BR> // --><BR> <BR> </SCRIPT><BR> <BR> <script language="Javascript"><BR> <!-- <BR> <BR> if (top.location != self.location) {<BR> top.location = self.location.href<BR> }<BR> <BR> //--> <BR> </script><BR> <BR> <p>Op deze pagina worden frames gebruikt, maar uw browser ondersteunt geen<BR> frames.</p><BR> <BR> </body><BR>




[ Next Thread | Previous Thread | Next Message | Previous Message ]

Replies:
Subject Author Date
Re: Dans vrijdagRuth18:31:55 06/20/02 Thu
ma Jan, zo suuuuuuper:)Pradnya16:26:59 06/21/02 Fri


Post a message:
This forum requires an account to post.
[ Create Account ]
[ Login ]
[ Contact Forum Admin ]


Forum timezone: GMT+1
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.