hwg-languages archives | Jun 2000 | new search | results | previous | next |
finding file sizesby "eric williams" <eric_alt(at)hotmail.com> |
|
<html><DIV id=cdiv style="BACKGROUND-COLOR: seashell"> <P> <P> <P>This should be an easy one for you: I want to add the lines in <FONT color=darkorange>bold</FONT> to show file sizes from the array <STRONG>sizes </STRONG>which I need to add to </P> <P>midis = new Array(Mcount);<BR>names = new Array(Mcount);<BR>sizes = new Array(Mcount);</P> <P>but how do I get the file sizes into the array other than entering all 300+ by hand?</P> <P>URL <A href="http://www.fortunecity.com/tinpan/verse/983/index.html#play">http://www.fortunecity.com/tinpan/verse/983/index.html#play</A></P><FONT color=#000000 face="Courier New" size=2> <P> <script><BR> <!--hide<BR> document.write("<center><table bgcolor=#e8e8e8 border=3><tr><td bgcolor=#880000>"+Mcount+" Songs</td><td bgcolor=#880000>Play file</td<STRONG>><FONT color=darkorange><td>File size</td></FONT><FONT color=midnightblue></</FONT></STRONG>tr>");<BR> for (m=0;m<Mcount;m++) {<BR> document.writeln("<tr><td bgcolor=#000088>"+names[m]+"</td>");<BR> document.writeln("<td bgcolor=#000088><a href='"+midis[m]+"'>"+midis[m]+"</a></td>");</P> <P><STRONG> <FONT color=darkorange> document.writeln("<td bgcolor=#000088>"+sizes[m]+"</td></tr>");</FONT></STRONG><BR> }<BR> document.write("</table></center>");<BR> end--><BR> </script><BR>thanks</P> <P>eric</P></FONT></DIV><p><hr>Get Your Private, Free E-mail from MSN Hotmail at <a href="http://www.hotmail.com/">http://www.hotmail.com</a><br></html>
HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA