-
Senior Member
multidimesional array
Hi
I need to create a multidimesional array which will be used to display questions per page.
imagesNode = new Array("img5", "img5", "img5", "null", "null", "img5", "null", "img7", "img8", "img9");
questions = new Array("q1", "q2", "q3", "q4", "q5", "q6", "q7", "q8", "q9", "q10");
questPerpage = new Array();
Condition is if there are 3 images in a row then only two questions can fit otherwise 3 questions can be displayed on the screen.
So my array should look like this;
questPerpage[0]=("q1", "q2")
questPerpage[1]=("q3", "q4","q5")
questPerpage[2]=("q5", "q6","q7")
questPerpage[3]=("q8","q9")
Please help
Last edited by dipkya; 07-05-2005 at 11:45 AM.
dipkya
---------------------------------------------------------------
SO MUCH HAVE TO DO, SO LITTLE HAS DONE!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|