[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Webmasterplein.net • Toon onderwerp - Javascript Ticker random weergeven
Pagina 1 van 1

Javascript Ticker random weergeven

BerichtGeplaatst: 30 mei 2011 14:49
door Marcello

Re: Javascript Ticker random weergeven

BerichtGeplaatst: 30 mei 2011 15:45
door Remi

Re: Javascript Ticker random weergeven

BerichtGeplaatst: 30 mei 2011 17:46
door Marcello
Bedankt voor het snelle antwoordt! het werkt maar, nog niet helemaal ik krijg af en toe om mijn balk "undefined"te zien dus bijv tekst1 tekst4 tekst5 tekst3 tekst2 en dan "undefined en dan gaat die weer met de tekst verder.

Re: Javascript Ticker random weergeven

BerichtGeplaatst: 30 mei 2011 21:21
door Krassie
Moet het niet length-1 zijn ipv length+1 ?

Re: Javascript Ticker random weergeven

BerichtGeplaatst: 30 mei 2011 21:56
door Remi
Ja het moet min 1 zijn. Ik zat een beetje te slapen. :P

Re: Javascript Ticker random weergeven

BerichtGeplaatst: 31 mei 2011 11:25
door Marcello
Bedankt voor de reacties

Veranderd in length-1 maar, nu blijft het balkje(waar de tekst in komt) soms leeg (vorige keer kreeg ik undefined af en toe in de balk) daarna komt de tekst weer.
Dat heb ik liever niet, en heb het idee dat die soms wat langer blijft staan op 1 tekst, maar kan toeval zijn omdat het random is en ik nog niet veel teksten heb ingevoerd.

Re: Javascript Ticker random weergeven

BerichtGeplaatst: 31 mei 2011 11:29
door DoubleJ

Re: Javascript Ticker random weergeven

BerichtGeplaatst: 31 mei 2011 14:48
door Marcello
Hoi ja eigenlijk wel, maar dan wordt het nog ingewikkelder denk ik. Ik denk als je veel teksten hebt, dat het niet zo vaak voorkomt en niet bezwaarlijk is. Plus als die het moet checken zou die alles maar 1 keer laten zien zien en niet in een random loop.Eerst het probleem oplossen dat die dus af en toe een lege balk laat zien ipv tekst. 8-)

Re: Javascript Ticker random weergeven

BerichtGeplaatst: 02 jun 2011 14:50
door Marcello
Niemand? Ok bedankt iig voor de antwoorden.

Re: Javascript Ticker random weergeven

BerichtGeplaatst: 02 jun 2011 14:58
door Remi

Re: Javascript Ticker random weergeven

BerichtGeplaatst: 02 jun 2011 15:12
door Marcello
Het werkt! hartstikke bedankt 8-)