Re: passing variable to a nested array [message #171999 is a reply to message #171998] |
Thu, 27 January 2011 09:22 |
|
richard
Messages: 213 Registered: June 2013
Karma:
|
Senior Member |
|
|
On Thu, 27 Jan 2011 09:27:14 +0100, "Álvaro G. Vicario" wrote:
> El 27/01/2011 6:31, Andrew escribió/wrote:
>> Here's an interesting item I could use some help with. Let's say I have a row of
>> boxes made from<ul><li> tags, named "A", "B", "C". When a visitor clicks on
>> "A", a list of names and other information appear below that row. How can I
>> direct the code to select the proper array?
>> I know about nested arrays. Will I need a nest for each<li> block or what?
>
> You don't post a single line of code because you haven't started the
> script yet or because you want to make us guess? :-P
Ok so heres the code:
<ul>
<li> Au</li>
<li>Fook</li>
<li>Yew</li>
</ul>
The rule is, you must ask, "Where's the url?".
|
|
|