WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 table list help..., Brian, October 14, 2004
     got it..., Brian, October 15, 2004
     a bit closer..., Brian, October 14, 2004
     Re:table list help..., Brian, October 14, 2004

Subject: a bit closer... From: Brian Date: October 14, 2004

okay i'm getting closer...

i figured out how to manualy do it... but the problem is i have no idea how many columns across it's going to be...

var fcs = new Array();
var count = 1;
while (!fc.atEnd()) {
fcs[count] = fc.item().name;
count = count+1;
fc.MoveNext();
}

s += "<tr><td>"+fcs[1]+"</td>" +
"<td>"+fcs[4]+"</td>" +
"<td>"+fcs[7]+"</td></tr>"

s += "<tr><td>"+fcs[2]+"</td>" +
"<td>"+fcs[5]+"</td>" +
"<td>"+fcs[8]+"</td></tr>"

s += "<tr><td>"+fcs[3]+"</td>" +
"<td>"+fcs[6]+"</td>" +
"<td>"+fcs[9]+"</td></tr>"

this gives me the

1  4  7
2  5  8
3  6  9

layout that i want... but the folders will be changing so i need it to be more "dynamic"

i know for a fact i want it 10 row's down... any help anyone?




Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX