Re: Java script help

From: Kevin Spencer (kspencer_at_takempis.com)
Date: 09/17/04


Date: Fri, 17 Sep 2004 08:19:30 -0400

You'll have to forgive me, as I seem to have trouble interfacing with
humans. You say you want to "display" text. HOW do you want to "display" it?
Perhaps a bit of background about your business requirements would be
helpful.

-- 
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
"Jane Here" <cibhere@yahoo.com> wrote in message
news:#8XDk8InEHA.4004@TK2MSFTNGP10.phx.gbl...
> I am trying to understand how Java script works. Can someone help me with
> this hopefully straightforward example:
>
> I want one page to display different text. I want to put the text into two
> separate arrays.
>
> Array 1:
> ---------
> aContent[0]=Fruit salad
> aContent[1]=Vegetable pack
> ...
> aContent[21]=Meat trays.
>
> Array 2:
> ----------
> aType[0]=Apples
> aType[1]=Carrots
> ...
> aType[21]=Beef.
>
> Note: For the purpose of this example, I want the arrays to be separate.
>
> Now on the page I want these buttons:
> ----------------------------------------------
> (F)irst    (P)revious    (N)ext    (L)ast
> and these outputs:     Display_Contents              Display_Type
>
> Initial display show --------------------------------- Fruit
> alad  ----------     Apples
>
> User clicks (N)ext.
> Counter gets incremented by 1
>
> So display now shows: ---------------------------- Vegetable
ack  -------- 
> Carrots
>
> How would I accomplish this in Java script?
> (I'm using FP2003).
>
>
>