gotcha41 0 Report post Posted September 26, 2004 I have a rather technical question about the statusbar :Is it possible to alternate a flashing text with a 'passing-by' text? I have 2 codes that work perfect when they are separated, (I mean when they are not connected to each other) Can someone find a way to alternate the first one with the second? I'm not that familiar with html.. If my question isn't clear for you, just ask what you want to know Share this post Link to post Share on other sites
Zenchi 0 Report post Posted September 26, 2004 It would be rather helpful of you to post the snippets of coding. Although, if this is done through javascript, I believe you could assign a variable count, something like.. if (variable1 = 0) {[br]First code thing here;[/br]variable1 = 1;[br]}[/br]if (variable1 = 1) {[br]Second code thing;[/br]variable1 = 0;} Share this post Link to post Share on other sites
gotcha41 0 Report post Posted September 26, 2004 // snipped // Share this post Link to post Share on other sites
arp 0 Report post Posted October 9, 2004 Hi;probably the easiest way would be to add a wrapper function that you call from the body tag.this wrapper function will then alternate between calling the two status bar functions:function statusFunctions(){ for(var x=0; x<10; x++){ flash(); } setMessage(); setTimeout("statusFunctions();",speed);}you will need however to fiddle with the flash function as it relies on recursion to do the actual flashing, and by doing as I mention above, you break this recursion...good luck- arp Share this post Link to post Share on other sites
Dawid 0 Report post Posted October 13, 2004 As always the forum has helped my site one step towards a masterpiece!!! Share this post Link to post Share on other sites