D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] OT: Could anyone help with a bit of Javascript please?

 

Julian Hall wrote:

> Not sure of the actual coding to be honest.  However, you could say 
> something like;
> 
> function LoadFile()
> {
> load file
> return(null);
> }
> 
> function Ticker
> 
> while (!end of file)
> {
> display next item
> }
> 
> LoadFile()
> return(null);
> 
> function Display()
> Ticker()
> return(null);

<snip>

Thanks Julian,  I'll take a look.  Hopefully with your suggestions and 
Tom's suggestions I'll be able to figure it out.

How I've got it at the moment kind of works, it just flashes when 
refreshing the page.

I could probably get around it by writing a Gambas app to do the same 
job, but I thought doing it with HTML/Javascript it would be more portable.

Rob

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html